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

ISREDIT - Replace string - Exceeding line length issue


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chidams78
Currently Banned

New User


Joined: 29 May 2006
Posts: 59
Location: India

PostPosted: Tue Aug 19, 2008 9:09 pm
Reply with quote

Thanks Pedro for your suggestion. Indeed it was somewhat tricky logic.:-)

The other problem I had encountered is,
When the macro is exeuted in the PROC, it changes the existing TAPE name to TAPE,RETPD=60, thereby truncating the below shown lines 5 and 8.

//TST0222W EXEC PGM=SORT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=UBA.INS.QTRGRST.TEST1,
// DISP=(OLD,KEEP,KEEP),
// UNIT=&TAPE,LABEL=1,VOL=,RETAIN,REF=*.TST020.PRINTR)
// DD DSN=&ENVO2..INS.QTRUNIST.SPOOL,
DISP=(OLD,KEEP,KEEP),
// UNIT=&TAPE,LABEL=2,VOL=,RETAIN,REF=*.TST0202S.PRINTR)


The logic i thought to handle this situation is like
1. Just search for DISP= after the column number 35 and if it is
encountered, put it in new line. The same thing for UNIT= and VOL=
Note: The disadv with this logic is that we will be unneccessarily puting all
the DISP=, UNIT= and VOL= into the new line even if the variable
in that line is not changed.

Whether this logic holds good or is there any other good logic to acheive this result
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top