i have a field which column 99-110 is : pic -----------9. ( 12bytes length) in a input fille.
now i want to convert this input file to a output file and convert this field to s9 comp-3.
Can i use icetools to do this job?Pls show me a jcl.
ICE200I 0 IDENTIFIER FROM CALLING PROGRAM IS 0001
ICE143I 0 BLOCKSET COPY TECHNIQUE SELECTED
ICE000I 0 - CONTROL STATEMENTS FOR 5740-SM1, DFSORT REL 14.0 - 17:04 ON FRI DEC 23, 2005 -
OUTREC FIELDS=(99,12,ZD,TO=PD,LENTH=9) 00140002
ICE215A E SPECIFIED FEATURE IS ONLY SUPPORTED BY OUTFIL STATEMENT
ICE146I 0 END OF STATEMENTS FROM CTL1CNTL - PARAMETER LIST STATEMENTS FOLLOW
DEBUG NOABEND,ESTAE
OPTION LIST,MSGPRT=ALL,MSGDDN=DFSMSG,RESINV=0,SORTDD=CTL1,SORTIN=IN,SOR*
TOUT=OUT,COPY
ICE052I 3 END OF DFSORT
Ask your System Programmer to install DFSORT R14 PTF UQ95213 (Dec, 2004) - that will get you up-to-date on DFSORT functional PTFs.
Note that with the OUTREC or OUTFIL statement, the converted field will start in position 1, not in position 99. If you want it to start in position 99, you need to specify the fields around it (e.g. 1,98,99,...,111,n).
I run your job,but it still failed. and the message is :
1ICE200I 0 IDENTIFIER FROM CALLING PROGRAM IS 0001
ICE143I 0 BLOCKSET COPY TECHNIQUE SELECTED
ICE000I 0 - CONTROL STATEMENTS FOR 5740-SM1, DFSORT REL 14.0 - 11:12 ON MON DEC 26, 2005 -
0 OUTFIL FNAMES=OUT,OUTREC=(99,12,ZD,TO=PD,LENGTH=9) 00080003
ICE007A E SYNTAX ERROR
ICE146I 0 END OF STATEMENTS FROM CTL1CNTL - PARAMETER LIST STATEMENTS FOLLOW
DEBUG NOABEND,ESTAE
OPTION LIST,MSGPRT=ALL,MSGDDN=DFSMSG,RESINV=0,SORTDD=CTL1,SORTIN=IN,COP*
Y
ICE052I 3 END OF DFSORT
it seems that 'to=pd' is invalid. Must i install the PTFs?
I 'm using os/390, not Z/OS.
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
TO=fo was first made available with DFSORT R14 PTF UQ99323 way back in July, 2000, so you don't have that very old PTF or any of the PTFs that followed it. Ask your System Programmer to install DFSORT R14 PTF UQ95213 (Dec, 2004). That will get you all of the latest DFSORT functional PTFs.