Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts JOINKEYS Paired and Unpaired Sort MFwhiz DFSORT/ICETOOL 4 Fri Sep 29, 2017 1:48 am
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us