View previous topic :: View next topic
|
Author |
Message |
krishna417
New User
Joined: 25 Jul 2017 Posts: 4 Location: India
|
|
|
|
Can any one tell me how to save expanded JCL's (more than 1) from production library into Test library? This will save lots of time if we are searching with entire file name in the JCL's.
Thanks,
Krishna |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2546 Location: Silicon Valley
|
|
|
|
Please explain how you expand the JCL. Where is the production JCL? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
This will save lots of time if we are searching with entire file name in the JCL's. |
Since ISPF allows you generate a batch job and add multiple data sets to your search, exactly how are you saving time by expanding JCL? Especially since there are resources required to expand the JCL.
The question is so vague as to be unanswerable as posted. As asked, what is "expanded JCL"? If you're talking about JCl expanded by a source code management facility, the product's utilities should include a copy function that would serve your purpose. If you're talking about JCL expanded by the system when submitted, it is a BAD IDEA to use this -- because if someone changes the INCLUDE / PROCLIB statements or the statements in the INCLUDE or PROCLIB members, your test system would not be able to use the updated JCL without recapturing the expanded JCL somehow. |
|
Back to top |
|
|
krishna417
New User
Joined: 25 Jul 2017 Posts: 4 Location: India
|
|
|
|
JJSCAN will expand the JCL and I want that JCL will be saved. This should happen for all the JCL members in the library
Thanks
Krishna |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
the issue of in house processing a <ANY_JCL_CHECKER> expanded ( procedures an symbols resolved ) jcl has been discussed too many times
and the general opinion is that it cannot be done
( just reporting a fact - what is the general opnion ) |
|
Back to top |
|
|
krishna417
New User
Joined: 25 Jul 2017 Posts: 4 Location: India
|
|
|
|
The reason why i have posted this is
" I need to search few PS data sets in all the JCL libraries and all JCL's is having PROC's with symbolic parameters. It is little bit hard to find out and I thought there might be REXX routines or some utilities that expands PROC's in JCL's."
In my previous project, we used PRO and CA7 to search the data sets in the JCL's where ever it is being used. |
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
I do not know about jjscan, but we have successful expanded large volumes of jcl using a product called XREFPLUS by SEA.
It does take some effort however.
You have to think outside of the box a bit. It can be done. |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3049 Location: NYC,USA
|
|
|
|
why don't you check last 2 or 3 qualifiers to narrow down the search? Usually symbolics are used at the first 1/2/3 qualifiers. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2546 Location: Silicon Valley
|
|
|
|
Quote: |
JJSCAN will expand the JCL and I want that JCL will be saved |
It is not clear where you are after 'expand the JCL'. On the chance that the JJSCAN process ends in the ISPF editor, you can write an editor macro that copies the editor session to another dataset. And assign a PFkey to invoke the new edit macro.
A totally different approach is to use the SDSF rexx api to examine completed jobs and save the original JCL to a data set. |
|
Back to top |
|
|
magesh23586
Active User
Joined: 06 Jul 2009 Posts: 213 Location: Chennai
|
|
|
|
krishna417,
What is the product you are using to expand the jcl?
Once you issue JJSCAN, you may find the product name in the first or second line of the expaned jcl. |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 712 Location: Denmark
|
|
|
|
As I recall the JJSCAN command, it makes NOTE lines in the displayed data. All NOTE lines can be changed to data lines in one go by the linecommand MD99999 in line 1 (MD = Make Data). Then the data can be saved by the CREATE edit command.
The CREATE can be packaged in an edit macro, unfortunately I couldn't see a edit macro command to change those NOTE lines. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
that behaviour ( NOTE LINES ) is common to most jcl checkers
that' the reason the TS requirement cannot be satisfied
time to lock the topic
question asked and answered ( even if with unsatisfactory replies ) too many times |
|
Back to top |
|
|
krishna417
New User
Joined: 25 Jul 2017 Posts: 4 Location: India
|
|
|
|
Hi Magesh,
we are using PRO JCL product
Regards
Krishna |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Run your JJSCAN in batch. Refer to the documentation AND your tech support.
Now locking. |
|
Back to top |
|
|
|