Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 158
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: 158
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 Card to Remove Duplicate records... raj4neo SYNCSORT 0 Wed Jan 25, 2017 4:44 am
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts DFHRESPONSE returns issue divated CICS 3 Wed Nov 02, 2016 6:32 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us