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 SORT to unpack a feild shr_amar DFSORT/ICETOOL 7 Fri Jul 07, 2017 4:32 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Optimize sort inrec parse vishwakotin DFSORT/ICETOOL 6 Mon Jun 26, 2017 11:15 pm
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm


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