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

need to replace IEBGENER GENERATE with SORT


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mahesh_Kota

New User


Joined: 20 Jun 2009
Posts: 1
Location: Mysore

PostPosted: Fri Apr 30, 2010 6:06 pm
Reply with quote

This is the content used in IEBGENER control card
GENERATE DBCS=YES,MAXFLDS=4,MAXLITS=9
RECORD FIELD=(112,1,,1)
now i want to replace this one by SORT utility.
Can any one help me with this?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Apr 30, 2010 7:49 pm
Reply with quote

Only if you tell us that you know what IEBGENER statements are doing? icon_smile.gif
Back to top
View user's profile Send private message
Ronald Burr

Active User


Joined: 22 Oct 2009
Posts: 293
Location: U.S.A.

PostPosted: Fri Apr 30, 2010 7:59 pm
Reply with quote

Telling us which SORT product you wish to use would also help.

ALSO, it would help to see the ENTIRE contents of the IEBGENER input command set. MAXFLDS=4 would suggest that there is more than one FIELDS= statement, and MAXLITS=9 would suggest that there are also some constants that are being inserted/overlayed during the operation.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Sat May 01, 2010 7:34 am
Reply with quote

Hi,

based on the statements you have provided this is what you will need to use the SORT prgram.



Code:
//SORT     EXEC PGM=SORT                           
//SORTIN   DD DSN=input-file                       
//SORTOUT  DD DSN=output-file  lrecl=112         
//SYSOUT   DD SYSOUT=*                             
//SYSIN    DD *                                   
 SORT FIELDS=COPY                                 
 OUTREC BUILD=(1,112)                             


Gerry
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 -> JCL & VSAM

 


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 Replace each space in cobol string wi... COBOL Programming 3
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts JCL sort card - get first day and las... JCL & VSAM 9
Search our Forums:

Back to Top