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
 

 

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 Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm


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