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 numeric fields with trailing spaces sancraig16 SYNCSORT 7 Tue Apr 03, 2018 1:21 am
No new posts Find & Replace string in CA-SORT mrgnndhmk CA Products 1 Fri Mar 30, 2018 12:58 am
No new posts SORT 3 files,extract specific fields ... Kiransr DFSORT/ICETOOL 13 Fri Mar 23, 2018 10:54 am
No new posts Getting information (RECFM/LRECL/BLKS... Tim Van Holder COBOL Programming 3 Wed Mar 14, 2018 2:10 pm
No new posts How to Generate JCL using Sort naveen katkuri DFSORT/ICETOOL 7 Tue Mar 13, 2018 3:50 pm

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