Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Issue with the SORT job.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
satish.ms10

Active User


Joined: 10 Aug 2009
Posts: 160
Location: India

PostPosted: Wed Jul 28, 2010 12:48 pm    Post subject: Issue with the SORT job.
Reply with quote

Hi,

I have coded a sort job to extract 6 bytes from the input file. Input file is VB record format file with 5004 record length.

Here is the job:

Code:

// SET IN01=input file                                    <--- VB file with 5004 LRECL
// SET OUT01=output file
//********************************************************
//STEP01   EXEC PGM=SORT
//SYSOUT   DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SORTIN   DD DSN=&IN01,DISP=SHR
//*
//SORTOUT  DD DSN=&OUT01,
//            DISP=(NEW,CATLG,DELETE),
//            DCB=(RECFM=FB,LRECL=60,BLKSIZE=0),
//         SPACE=(CYL,(10,20),RLSE)
//SYSIN  DD *
  OPTION COPY
  OUTREC FIELDS=(1:323,6,7:54X)
//*


When I submit this job I am getting following error message in spool.

Code:

********************************* TOP OF DATA ********************************************************************
ICE143I 0 BLOCKSET     SORT  TECHNIQUE SELECTED
ICE250I 0 VISIT http://www.ibm.com/storage/dfsort FOR DFSORT PAPERS, EXAMPLES AND MORE
ICE000I 1 - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R10 - 01:58 ON WED JUL 28, 2010 -
            SORT FIELDS=(319,6,CH,A)    210002
            OUTREC FIELDS=(1:323,6,7:54X)    220003
ICE043A 3 INVALID DATA SET ATTRIBUTES: SORTOUT  RECFM   - REASON CODE IS 08
ICE150I 0 VLSHRT NOT USED FOR SORT, MERGE, INCLUDE, OMIT OR SUM STATEMENT FIELDS
ICE751I 0 C5-K51707 C6-K51707 C7-K51707 C8-K51707 E7-K51707
ICE052I 3 END OF DFSORT
******************************** BOTTOM OF DATA ****************************************************************


Could you please suggest me where I am doing mistake?
Back to top
View user's profile Send private message

gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Wed Jul 28, 2010 1:23 pm    Post subject:
Reply with quote

Hi,

you cannot just copy a VB file to an FB file without additional parameters.

Try this
Code:
 OPTION COPY
 OUTFIL BUILD=(1:323,6,7:54X),     
  VTOF                           



Gerry
Back to top
View user's profile Send private message
satish.ms10

Active User


Joined: 10 Aug 2009
Posts: 160
Location: India

PostPosted: Wed Jul 28, 2010 1:43 pm    Post subject:
Reply with quote

Thank you very much Gerry.

It worked.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts JOINKEYS Paired and Unpaired Sort MFwhiz DFSORT/ICETOOL 4 Fri Sep 29, 2017 1:48 am
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us