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

ISPF Edit Macro for modifying JCL


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

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Sat Dec 14, 2019 2:48 am
Reply with quote

Quote:
We also will need to know if your girlfriend should say "Good luck!"


Good luck? I only expect a smile and a simple Thank you, when I make her breakfast in bed. Instead I get too many tantrums like,
"How did you get in? who are you? Why are you covered in baby oil?"

some people... SMH.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Sat Dec 14, 2019 4:02 am
Reply with quote

Quote:
Essentially, I did a FIND to locate a DD statement and added a LABEL. Then I did another FIND to identify the NEXT DD statement, or end-of-file and added a LABEL.
Then I did a FIND within the RANGE to locate a DATACLAS value.


This logic makes me somewhat uneasy, though I cannot articulate exactly why. I think my preference is to enclose your logic to be nested within another search for EXEC statement so that you do all of the DD statements for each job step before going to the next job step. Yeah, I know the difference is minuscule.

Other things to watch out for:
* extending line text beyond column 71
* finding DATACLAS within a comment
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 Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
Search our Forums:

Back to Top