abdulrafi
Active User
Joined: 14 Sep 2009 Posts: 184 Location: Coimbatore
|
|
|
|
Hi,
Currently I have two sort cards with me.. I do want to merge these into one just to reduce the steps. Can anybody help me ?.
Sort card 1:
Code: |
SORT FIELDS=(11,6,A,25,12,A,62,6,A),FORMAT=CH
SUM FIELDS=NONE
OUTREC FIELDS=(1:11,6,7:25,12,62X) |
Sort card 2:
Code: |
SORT FIELDS=COPY
INREC FIELDS=(1:1,18,19:SEQNUM,4,ZD)
OUTREC IFTHEN=(WHEN=(19,4,ZD,EQ,0001),
BUILD=(1:X'407D',3:1,18,21:X'7D',22:59X)),
IFTHEN=(WHEN=NONE,
BUILD=(1:C',',2:X'7D',3:1,18,21:X'7D',22:59X))
OUTFIL REMOVECC,TRAILER1=(');') |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What have you tried and what was the result ?
We will help you if you try, but we are not here to do your job for you.
Which sort product are you using, after 160+ posts on the forum I rather think that you should know the rules by now.
Which release of the unknown product is being used.
Examples of input data and expected output data are where ?
One of the moderators will move this topic to the correct forum once you answer the questions. |
|