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
 
OUTREC with ALter Command

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
scorp_rahul23

New User


Joined: 06 May 2008
Posts: 93
Location: Delhi

PostPosted: Wed Nov 22, 2017 3:10 pm    Post subject: OUTREC with ALter Command
Reply with quote

My Input file is FB 194 REC Length.

I want to create a outrec to alter the file name.

Code:

........[92 Bytes]....A9340G.SHNP01.ABCD.A5.C51.F01.D2171122.RDY....


I have written below code to change one variable

Code:

OPTION COPY                                       
OUTFIL OUTREC=(C' ALTER ''',93,42,C'''- ',/,       
               C' NEWNAME(',93,19,C'V',113,22,C')')


Result of above code is
Code:

ALTER 'A9340G.SHNP01.ABCD.A5.C51.F01.D2171121.RDY'-             
NEWNAME(A9340G.SHNP01.ABCD.V5.C51.F01.D2171121.RDY)                 


I want to modify the OUTREC command to include additional changes for replacing the character "A9340G" to "A9340T"

Can you please suggest
Back to top
View user's profile Send private message

Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1896
Location: NY,USA

PostPosted: Wed Nov 22, 2017 8:06 pm    Post subject:
Reply with quote

Use INREC to OVERLAY A9340G to A9340T before passing it to OUTREC.
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 Rexx command to open an another text ... Bharath Vikraman PC Guides & IT News 7 Sat May 12, 2018 4:34 pm
No new posts IBM Pcomm macro startmacro command do... JGregoire IBM Tools 0 Wed May 09, 2018 12:16 pm
No new posts How to use STDPARM with df command maxsubrat JCL & VSAM 5 Fri May 04, 2018 7:57 pm
No new posts OUTREC OVERLAY different to INCREC ge... Joerg.Findeisen SYNCSORT 8 Fri Apr 27, 2018 2:11 am
No new posts Need help with 002-030 ABEND in TSO R... Terry Tallian TSO/ISPF 0 Sat Mar 17, 2018 1:13 am

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