|
View previous topic :: View next topic
|
| Author |
Message |
rohanthengal
Active User
.jpg)
Joined: 19 Mar 2009 Posts: 206 Location: Globe, India
|
|
|
|
In the below OUTREC statement, i am not able to understand the meaning of the highlighted part. Can any one explain the meaning of this statement?
OUTREC BUILD=(20:16,5,40:1,5,50:25,5) |
|
| Back to top |
|
 |
smijoss
Active User
Joined: 30 Aug 2007 Posts: 114 Location: pune
|
|
|
|
it means to copy 5 bytes from 16th positon of your input file to the 20th position in your output file  |
|
| Back to top |
|
 |
rohanthengal
Active User
.jpg)
Joined: 19 Mar 2009 Posts: 206 Location: Globe, India
|
|
|
|
| thanks a lot smijoss.. |
|
| Back to top |
|
 |
rohanthengal
Active User
.jpg)
Joined: 19 Mar 2009 Posts: 206 Location: Globe, India
|
|
|
|
sorry .... but the thing whicch you have told is not working over here...
i change the card as
SORT FIELDS=COPY
OUTREC FIELDS=(20:1,3,55:6,2)
then it is working...!
But if i use OUTREC BUILD then it is giving MAXCC = 16 stating invalid OUTREC statement...
Please clarify on this...! |
|
| Back to top |
|
 |
sqlcode1
Active Member
Joined: 08 Apr 2010 Posts: 577 Location: USA
|
|
|
|
| rohanthengal wrote: |
i change the card as
SORT FIELDS=COPY
OUTREC FIELDS=(20:1,3,55:6,2)
then it is working...!
But if i use OUTREC BUILD then it is giving MAXCC = 16 stating invalid OUTREC statement...
Please clarify on this...! |
Which SORT Product, are you using? If you are not sure, please show SYSOUT from the job which ran successfully.
Thanks, |
|
| Back to top |
|
 |
Frank Yaeger
DFSORT Developer

Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
rohanthengal,
DFSORT has supported BUILD since December, 2004. So if FIELDS works but BUILD doesn't, you have a very, very old version of DFSORT!!
Post the //SYSOUT messages you received. |
|
| Back to top |
|
 |
rohanthengal
Active User
.jpg)
Joined: 19 Mar 2009 Posts: 206 Location: Globe, India
|
|
|
|
********************************* TOP OF DATA **********************************
ICE143I 0 BLOCKSET COPY TECHNIQUE SELECTED
ICE000I 1 - CONTROL STATEMENTS FOR 5740-SM1, DFSORT REL 14.0 - 18:56 ON THU SEP
SORT FIELDS=COPY
OUTREC FIELDS=(20:1,3,55:6,2)
ICE201I 0 RECORD TYPE IS F - DATA STARTS IN POSITION 1
ICE193I 0 ICEAM1 ENVIRONMENT IN EFFECT - ICEAM1 INSTALLATION MODULE SELECTED
ICE088I 0 E118262J.STEP1 . , INPUT LRECL = 80, BLKSIZE = 800, TYPE = FB
ICE093I 0 MAIN STORAGE = (MAX,4194304,4194304)
ICE156I 0 MAIN STORAGE ABOVE 16MB = (4132558,4132558)
ICE127I 0 OPTIONS: OVFLO=RC0 ,PAD=RC0 ,TRUNC=RC0 ,SPANINC=RC16,VLSCMP=N,SZERO=Y,
ICE128I 0 OPTIONS: SIZE=4194304,MAXLIM=1048576,MINLIM=450560,EQUALS=N,LIST=Y,ERE
ICE129I 0 OPTIONS: VIO=N,RESDNT=ALL ,SMF=NO ,WRKSEC=Y,OUTSEC=Y,VERIFY=N,CHALT=
ICE130I 0 OPTIONS: RESALL=4096,RESINV=0,SVC=109 ,CHECK=Y,WRKREL=Y,OUTREL=Y,CKPT=
ICE131I 0 OPTIONS: TMAXLIM=4194304,ARESALL=0,ARESINV=0,OVERRGN=65536,CINV=Y,CFW=
ICE132I 0 OPTIONS: VLSHRT=N,ZDPRINT=N,IEXIT=N,TEXIT=N,LISTX=N,EFS=NONE ,EXITC
ICE133I 0 OPTIONS: HIPRMAX=OPTIMAL,DSPSIZE=MAX ,ODMAXBF=0,SOLRF=Y,VLLONG=N,VSAMI
ICE084I 0 EXCP ACCESS METHOD USED FOR SORTOUT
ICE084I 0 EXCP ACCESS METHOD USED FOR SORTIN
ICE090I 0 OUTPUT LRECL = 80, BLKSIZE = 800, TYPE = FB
ICE055I 0 INSERT 0, DELETE 0
ICE054I 0 RECORDS - IN: 6, OUT: 6
ICE751I 0 C5C6C7C8E9C9E5E7EFF0E8
ICE052I 0 END OF DFSORT
******************************** BOTTOM OF DATA ******************************** |
|
| Back to top |
|
 |
sqlcode1
Active Member
Joined: 08 Apr 2010 Posts: 577 Location: USA
|
|
|
|
rohanthengal,
You have correct PTF installed to support BUILD. Make sure you are not using OUTREC BUILDS. Unlike, FIELDS, There is no 'S' in the BUILD.
See if below works...
| Code: |
SORT FIELDS=COPY
OUTREC BUILD=(20:1,3,55:6,2) |
Thanks, |
|
| Back to top |
|
 |
rohanthengal
Active User
.jpg)
Joined: 19 Mar 2009 Posts: 206 Location: Globe, India
|
|
|
|
********************************* TOP OF DATA **********************************
thanks.. sqlcode1.... i tried with ur input but it is giving me MAXCC=16 and below error message
ICE143I 0 BLOCKSET COPY TECHNIQUE SELECTED
ICE000I 1 - CONTROL STATEMENTS FOR 5740-SM1, DFSORT REL 14.0 - 19:39 ON THU SEP
SORT FIELDS=COPY
OUTREC BUILD=(20:1,3,55:6,2)
$
ICE104A 0 INVALID INREC OR OUTREC STATEMENT OPERAND
ICE012A 3 MISSING FIELDS OPERAND DEFINER
ICE052I 3 END OF DFSORT
******************************** BOTTOM OF DATA ******************************** |
|
| Back to top |
|
 |
sqlcode1
Active Member
Joined: 08 Apr 2010 Posts: 577 Location: USA
|
|
|
|
| sqlcode1 wrote: |
rohanthengal,
You have correct PTF installed to support BUILD.
|
Apologize but I take my words back, just noticed your ICE000I message says DFSORT REL 14.0. Not sure what is REL 14.0?
Thanks, |
|
| Back to top |
|
 |
sqlcode1
Active Member
Joined: 08 Apr 2010 Posts: 577 Location: USA
|
|
|
|
rohanthengal,
Refer to ibmmainframes.com/about43332.html.
Pay close attention to the very last post from Dave Betten.
| Dave Betten wrote: |
| First I'd like to point out that you are running DFSORT Release 14 which is no longer in support. So you may want to determine if you have a more current release like V1R5 or V1R10 available. |
Thanks, |
|
| Back to top |
|
 |
Frank Yaeger
DFSORT Developer

Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
rohanthengal,
DFSORT R14 is out of service (no longer supported). BUILD was supported with DFSORT R14 PTF UQ95213 (Dec, 2004). So your site is running an out of service release of DFSORT which is not current on PTFs. I don't know if you can still get a PTF for DFSORT R14. Perhaps you can have your system programmer look into that.
But you really should be using z/OS DFSORT V1R10 (for z/OS 1.10 and 1.11) at this point since z/OS DFSORT V1R5 (for z/OS 1.5-1.9) is going out of service at the end of this month. |
|
| Back to top |
|
 |
|
|
 |
All times are GMT + 6 Hours |
|