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 Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts SORT requirement sjiraga COBOL Programming 6 Thu Mar 09, 2017 9:11 pm
No new posts SORT to append Month and YEAR in MMYY... tisamf DFSORT/ICETOOL 1 Wed Mar 08, 2017 4:46 pm
No new posts JCL sort Match and NoMatch rakeshsekar1987 SYNCSORT 2 Thu Feb 02, 2017 10:26 pm


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