Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


JCL Expansion

JCL Expansion

JCL Expansion

I need to expand the JCL and make a copy of that in a pds.Is there any shorcut for that?

RE: JCL Expansion

What do you mean by 'expand'? Resolve the symbolics? hve a list of the run deck and procedure?

Why not try TYPRUN=SCAN and copy the output from the spool to your PDS?


RE: JCL Expansion

Hi Nclouston,
  I do not have prod access.I cant submit the jcl with TYPRUN=SCAN.I am looking for other alternative.

RE: JCL Expansion

Yes.I have SAR.Is it possible to acces the SAR thru JCL or REXX?If so please share the sample code or document.

RE: JCL Expansion

It would take a while to "gleen" the JCL out of SAR.

MVS Shops usually have Development and/or Test Libraries where versions of the Production JCL are stored.

If you know the DSN of the Production Liberar, you can sometimes tells the name of a Test or Development Library.


RE: JCL Expansion

you can only get the jcl expanded from sar if the jcl was set to allow it.

You can get the source from SAR directly (and save it into a dataset) or you can use sardb.

I do not have my working JCL at hand now, but this will give you a example of how to use sardb. http://itknowledgeexchange.techtarget.com/itanswers/report-from-caview/


Frederico Fonseca
SysSoft Integrated Ltd

FAQ219-2884: How Do I Get Great Answers To my Tek-Tips Questions?
FAQ181-2886: How can I maximize my chances of getting an answer?

RE: JCL Expansion


I do not have prod access.I cant submit the jcl with TYPRUN=SCAN.I am looking for other alternative.
Why do you believe you need "prod access" to submit a job with TYPRUN=SCAN. . .?  

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close