Author Topic: ???postprocessor parameters???  (Read 4395 times)

Douglas

  • Jr. Member
  • **
  • Posts: 27
    • View Profile
???postprocessor parameters???
« on: November 09, 2011, 11:16:51 AM »
Has anyone ever used the ?postprocessor parameters? found in ?Load Information??


Thanks


Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: ???postprocessor parameters???
« Reply #1 on: November 10, 2011, 04:49:55 AM »
Yep.  In one situation on AIX, I had to run a |sort|uniq on the index values to remove duplicates that appeared in the data stream -- I think it came from the Tagged Logical elements (TLEs) in an AFP file.

Does that clear anything up?

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

LWagner

  • Guest
Re: ???postprocessor parameters???
« Reply #2 on: November 15, 2011, 04:43:59 PM »
I have an awk script from omvs I use on one application.

SACLWAG:/ars/tmp: >cat refmt.ppr                                     
#!/bin/ksh                                                           
######################################################################
# Script Name: refmt.ppr                                             
# Description: Reformat 5th field of input file to contain decimal   
#              (from xxxxx to xxx.xx).
#              It does not modify the first line of input file.       
# Usage      : cat <inputfile> | refmt.ppr                             
# Parameter  : input file is from stdin.                               
# Change Activitiy:                                                   
#   06/23/10 pgove - Initial code.                                     
#######################################################################
awk -F"\x05" '{                                                       
  if ( NR == 1) {                                                     
    print $0                                                           
    next                                                               
  }                                                                   
  start_c5 = length($1) + length($2) + length($3) + length($4) + 4     
  len = length($5)                                                     
  part1 = substr($0, 1, start_c5)                                     
  amount = substr($5, 1, len-2) "." substr($5, len-1)                 
  part2 = substr($0, start_c5+len+1)                                   
  print part1 amount part2
}'

LWagner

  • Guest
Re: ???postprocessor parameters???
« Reply #3 on: November 15, 2011, 05:02:14 PM »
Just place the full omvs or other Unix path of the script to use in the postprocessing parameter window, as in the attached image.

Douglas

  • Jr. Member
  • **
  • Posts: 27
    • View Profile
Re: ???postprocessor parameters???
« Reply #4 on: November 18, 2011, 08:08:33 AM »
Thanks