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
 
need to replace IEBGENER GENERATE with SORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: need to replace IEBGENER GENERATE with SORT
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

Senior Member


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

PostPosted: Fri Apr 30, 2010 7:49 pm    Post subject:
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    Post subject:
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: 1703
Location: Australia

PostPosted: Sat May 01, 2010 7:34 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts Generate public-private key in batch ... vasanthz All Other Mainframe Topics 3 Fri Sep 15, 2017 9:20 am
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
No new posts Changing sort Card Dynamically vickey_dw DFSORT/ICETOOL 5 Sat Aug 19, 2017 2:33 pm

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