Sqlcode Intermediate
Joined: 15 Dec 2006 Posts: 157 Topics: 38
|
Posted: Tue Jan 09, 2007 2:02 am Post subject: Change the Sign Using SYNCSORT |
|
|
Hi All,
I was going through previous post to change the sign internally and found below mentioned link
http://www.mvsforums.com/helpboards/viewtopic.php?p=721&sid=c17c5fdf3184cf535810ff4f08cfb96b
Now I have dataset with LRECL=75 and I want to change the sign of a field which starts at 36th position and length is 5 bytes.
Data Type of that field is
I tried using below JCL,
Code: |
//SSJAN04 EXEC PGM=SORT
//SORTIN DD DSN=MY.INPUT.DATASET,DISP=SHR
//SORTOUT DD DSN=MY.OUTPUT.DATASET,DISP=OLD
//SYSUDUMP DD SYSOUT=H
//SYSOUT DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=COPY
INREC FIELDS=(1,35,-1,MUL,36,5,PD,PD,LENGTH=5,41,75)
/*
//
|
Code: | SORT FIELDS=COPY
*
INREC FIELDS=(1,35,-1,MUL,36,5,PD,PD,LENGTH=5,41,75)
*
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000 |
I am using below version for SYNCSORT.
SYNCSORT FOR Z/OS 1.2.0.1R
Can anyone please suggest me what is the problem here? |
|