View previous topic :: View next topic
|
Author |
Message |
viveksingal
New User
Joined: 11 Sep 2005 Posts: 10
|
|
|
|
Hi,
I sorted a file to convert packed decimal value to ZD but my output file has some junk values as well.
Here is the sort card i used to convert the values from PD to ZD
SORT FIELDS=COPY
OUTREC FIELDS=(1:1,4,PD,TO=ZD,LENGTH=7,8:5,4,PD,TO=ZD)
Can you please tell me if the above sort is correct as per my requiremnt. If yes then is there any way i can find some records without any junk or hex value in it?
Thanks |
|
Back to top |
|
|
krisprems
Active Member
Joined: 27 Nov 2006 Posts: 649 Location: India
|
|
|
|
viveksingal
in your SORT statement, try this one
Code: |
SORT FIELDS=COPY,ZDPRINT
|
|
|
Back to top |
|
|
viveksingal
New User
Joined: 11 Sep 2005 Posts: 10
|
|
|
|
Hi,
I tried using the ZDPRINT option but my job ended with Maxcc=16. below is the error message i am getting...
SORT FIELDS=COPY,ZDPRINT
*
OUTREC FIELDS=(1:1,4,PD,TO=ZD,LENGTH=7,8:5,4,PD,TO=ZD)
WER161B ALTERNATE PARM USED
WER268A SORT STATEMENT : SYNTAX ERROR
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE |
|
Back to top |
|
|
krisprems
Active Member
Joined: 27 Nov 2006 Posts: 649 Location: India
|
|
|
|
viveksingal
Sorry,
Code: |
OPTION ZDPRINT
SORT FIELDS=COPY
OUTREC FIELDS=(1:1,4,PD,TO=ZD,LENGTH=7,8:5,4,PD,TO=ZD)
|
|
|
Back to top |
|
|
|