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
 
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 Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
This topic is locked: you cannot edit posts or make replies. how to code for GDG in Rexx cvnlynn CLIST & REXX 13 Wed Aug 09, 2017 9:13 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am
No new posts I want to retire TRX and use only Rex... Abhinav Sharma CLIST & REXX 6 Sat Jul 29, 2017 2:53 am
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm

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