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

Insert line into a file or members of PDS


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
senthil_1983

New User


Joined: 16 Apr 2008
Posts: 14
Location: Chennai

PostPosted: Fri Jan 21, 2011 2:57 pm
Reply with quote

Here the smaple input and output

Input:

//Jobcard .....
//JCLLIB...
//*
//*
STEP010 EXEC PGM = XYZ

OUTPUT

I need the following stament insert(which is highlighted in bold)

//Jobcard .....
//JCLLIB...
//*
//STEP001 EXEC PGM=IEFBR14
//

//*
STEP010 EXEC PGM = XYZ
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Jan 22, 2011 2:01 pm
Reply with quote

1) DO NOT post onto the end of an existing topic

2) Well that is a statement that you have made. What is your problem.

3) What have you researched yourself, i,e, read the manuals, searched google, asked a peer

4) You have not said if this is a PS file, a PDS, any or all members of a PDS file. So little information yet you expect an answer.

There are numerous topics on the forum for doing this, so I suggest that you do a search and to make it easier for you

rcx rcy as search arguments, click the radio button for all arguments
author is expat
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top