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
 

 

sort from RECFM=FB to VB

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: sort from RECFM=FB to VB
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    Post subject: Re: sort from RECFM=FB to VB
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    Post subject:
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    Post subject: Re: sort from RECFM=FB to VB
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    Post subject:
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    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Fri Jan 19, 2007 3:04 pm    Post subject:
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:

http://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    Post subject:
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    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 to unpack a feild shr_amar DFSORT/ICETOOL 7 Fri Jul 07, 2017 4:32 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Optimize sort inrec parse vishwakotin DFSORT/ICETOOL 6 Mon Jun 26, 2017 11:15 pm
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm
No new posts Db2 load job abending in SORT mistah kurtz DB2 4 Mon Jun 05, 2017 3:58 pm


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