IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Issue with the SORT job.


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

Active User


Joined: 10 Aug 2009
Posts: 184
Location: India

PostPosted: Wed Jul 28, 2010 12:48 pm
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: 1702
Location: Australia

PostPosted: Wed Jul 28, 2010 1:23 pm
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: 184
Location: India

PostPosted: Wed Jul 28, 2010 1:43 pm
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 All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Alternative of JoinKeys in SORT DFSORT/ICETOOL 2
No new posts Sort SMF records? SYNCSORT 6
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts CICS-Db2 connection issue CICS 1
No new posts Simplify SORT CARD to combine INREC a... DFSORT/ICETOOL 6
Search our Forums:


Back to Top