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

sort from RECFM=FB to VB


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

New User


Joined: 18 Jan 2007
Posts: 5
Location: Pune

PostPosted: Fri Jan 19, 2007 12:08 pm
Reply with quote

I am trying to sort a file of RECFM=FB,recl=80 into a "VB" recfm with maximum 80 recl using the "SORT" utility.

But the JCL is giving a retcode=16 with the following msg:

Code:

ICE043A INVALID DATA SET ATTRIBUTES SPECIFIED SORTOUT  RECFM
ICE052I END OF DFSORT                                     


how do u resolve this error ??
Back to top
View user's profile Send private message
Mfprogrammer

New User


Joined: 24 May 2006
Posts: 6

PostPosted: Fri Jan 19, 2007 2:18 pm
Reply with quote

Hi,
Could you post your step here. What LRECL did you specify in our SORTOUT VB dataset?
Back to top
View user's profile Send private message
sreejit_thoosath

New User


Joined: 18 Jan 2007
Posts: 5
Location: Pune

PostPosted: Fri Jan 19, 2007 2:24 pm
Reply with quote

the recl that I defined for the output PS is 84 (since the first 4 bytes store the length of the record)
Back to top
View user's profile Send private message
Mfprogrammer

New User


Joined: 24 May 2006
Posts: 6

PostPosted: Fri Jan 19, 2007 2:30 pm
Reply with quote

Could you post your step here?
Back to top
View user's profile Send private message
sreejit_thoosath

New User


Joined: 18 Jan 2007
Posts: 5
Location: Pune

PostPosted: Fri Jan 19, 2007 2:51 pm
Reply with quote

here's my step :

Code:

//STEP1    EXEC PGM=SORT                                 
//SYSOUT   DD   SYSOUT=*                                 
//SORTIN   DD   DSN=XXXXXXX.TEST.SORT.INPUT,DISP=SHR     
//SORTOUT  DD   DSN=XXXXXXX.TEST.SORT.OUTPUT,             
//        DISP=(NEW,CATLG,DELETE),                       
//        SPACE=(TRK,(10,10),RLSE),                       
//        DCB=(LRECL=84,RECFM=VB)                         
//SYSIN    DD   *                                         
  SORT FIELDS=(4,20,CH,A)                                 
/*
Back to top
View user's profile Send private message
sreejit_thoosath

New User


Joined: 18 Jan 2007
Posts: 5
Location: Pune

PostPosted: Fri Jan 19, 2007 2:53 pm
Reply with quote

P.S. Here the RECFM of SORTIN is "FB"
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Fri Jan 19, 2007 3:04 pm
Reply with quote

DFSORT makes it easy to do FB to VB conversion and VB to FB conversion. See the "FB to VB conversion" and "FB to VB conversion" Smart DFSORT Tricks at:

www.ibm.com/servers/storage/support/software/sort/mvs/tricks/
Back to top
View user's profile Send private message
sreejit_thoosath

New User


Joined: 18 Jan 2007
Posts: 5
Location: Pune

PostPosted: Fri Jan 19, 2007 3:46 pm
Reply with quote

GOT IT !!!.....THANX
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
Search our Forums:

Back to Top