View previous topic :: View next topic
|
Author |
Message |
arch_cbit
New User
Joined: 18 Jun 2007 Posts: 4 Location: Hyderabad
|
|
|
|
Hi All,
Can anybody tell me what is the advantage in using a Cataloged PROC instead of the utility with respect to performance of the JCL execution. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
maybe we are facing a language barrier, but Jour question is not clear at all
to what utility are You referring, and how does the question relate to CICS
please clarify if You want to get meaningful answers |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Can anybody tell me what is the advantage in using a Cataloged PROC instead of the utility |
Can you explain how you might use a Cataloged PROC instead of the utility? Once we understand the question, we can talk about an advantage if one exists.
As Enrico mentioned, your question is not clear. Pleae clarify. |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
The use of a PROC is purely for your convenience. There is no measurable performance decrease even though the reader task does a little more work locating the proc, etc.
The PROC contains the same EXEC PGM= parameter as your stand alone JCL. Execution CPU time would be no difference. |
|
Back to top |
|
|
ridgewalker58
New User
Joined: 26 Sep 2008 Posts: 51 Location: New York
|
|
|
|
JCL Procs are usally used when the JCL could be used for multiple purposes. If you are creating a job that will eventually be moved into the Production environment, you will want to test ALL elements that will end up in Production. You will be testing the program, but you will also want to test the JCL that will be used to RUN the program. To this end, you will create a JCL PROC that will contain the JCL that will execute the program and also point to the files that will be used by the program.
These files are referred to with the DD CARDS and in these cards you will use SYMBOLIC parameters.
for example: //INFILE1 DD DSN=&QUAL..INFILE1
1. When you run this PROC in your test you will supply a value to
&QUAL ---- QUAL='TESTNAME'
2. When you run this PROC in Production you will supply a value to
&QUAL ----- QAL='PRODNAME'
***** IN THIS WAY most syntax errors or Execution time errors
that could be caused by your JCL will be TESTED.
***** Remember - if you have to RECREATE JCL for production
you could make a typing error |
|
Back to top |
|
|
|