What would somebody do with comments? In general, what should be done with then 
when doing an XREF on JCL? Personally, I'd ignore them. Mainly because I don't 
know what would be reasonable. Eg:

//SOMEDD DD DISP=SHR,DSN=SYS1.MACLIB(READ) SOME COMMENT

What should be done with the string "SOME COMMENT" if one were writing an XREF 
in some other language? Somehow attach it to the last parameter in the card? Or 
relate it to the label? What about stand alone comments? Relate them to the 
previous JCL statement? Or to the next one? Comments are a major problem since 
they are ad-hoc and personal, not according to any universal IBM standard.

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * 
[email protected] * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[email protected]] On Behalf Of Shmuel Metz (Seymour J.)
> Sent: Tuesday, November 01, 2011 8:27 AM
> To: [email protected]
> Subject: Re: Scanning JES3 JCL
> 
> In <[email protected]>,
> on 10/31/2011
>    at 04:07 PM, "McKown, John" <[email protected]> said:
> 
> >So I wonder if it would be possible to use HLASM and AREAD (to read
> >the JCL in the HLASM sysin stream) and use AINSERT to reinsert it as
> >a macro invocation. The macro would then use PUNCH statements to
> >write out the expanded JCL to SYSPUNCH.
> 
> How would you handle comments?
>  
> -- 
>      Shmuel (Seymour J.) Metz, SysProg and JOAT
>      ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
> We don't care. We don't have to care, we're Congress.
> (S877: The Shut up and Eat Your spam act of 2003)
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
> 
> 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to