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
 

 

commenting JCL code

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
Prakashreddy

New User


Joined: 11 Aug 2005
Posts: 10
Location: Bangalore

PostPosted: Fri Aug 12, 2005 1:46 pm    Post subject: commenting JCL code
Reply with quote

HI THIS IS PRAKASH REDDY,
MY QUESTION IS ,

I HAVE, SAY SUPPOSE, 100 LINE CODE IN JCL,I WANT TO MAKE 10 LINES IN-BETWEEN COMMENTS.WHAT IS THE SIMPLE WAY TO DO THIS OTHER THAN
USING //* TO ALL 10 LINES.


PLEASE SOME ONE TRY TO FINDOUT SOLUTION..AND LET ME KNOW.
BYE.[/b]
Back to top
View user's profile Send private message

Dariusz
Warnings : 1

New User


Joined: 11 Aug 2005
Posts: 27
Location: POLAND

PostPosted: Fri Aug 12, 2005 2:05 pm    Post subject: I think,it is possible by one way.
Reply with quote

We can start from selected line by insert '//*'
For ten lines we use reply from first '//*'.
Generaly,for this sytuation,depend on nedds,I can see only some cobination of change with start and end column and labels plus copy or reply function.
I can't see any solution without '//*'.
Good luck.
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Fri Aug 12, 2005 6:59 pm    Post subject:
Reply with quote

You can also indent with "))" your code for the 100 lines and then use a COPY-OVER (C-> OO - OO) of "//*" that's the base of JCL commands.
i.e.
Code:

000001 abcdefg
=COLS> ----+----1----+
))3    //STEP...
000003 //
.........
000100 /*
))     //


You will have:
Code:
000001 abcdefg
=COLS> ----+----1----+
000002    //STEP...
000003    //
.........
000100    /*
000101    //


Then insert a new line at the top:
Code:
000001 abcdefg
=COLS> ----+----1----+
i00002    //STEP...
000003    //
.........
000100    /*
000101    //


The Copy OO:
Code:
000001 abcdefg
=COLS> ----+----1----+
000002    //STEP...
C00003 //*
oo0004    //
.........
000100    /*
oo0101    //
Back to top
View user's profile Send private message
shivashunmugam Muthu

Active User


Joined: 22 Jul 2005
Posts: 114
Location: Chennai

PostPosted: Fri Aug 12, 2005 7:03 pm    Post subject: Re: commenting JCL code
Reply with quote

i dont see much time consumption difference with the regular commenting:)
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts IDEAL - Code Retrieval yugendran CA Products 0 Fri Nov 25, 2016 3:27 pm


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