How to DEBUG a JCL?
Answers were Sorted based on User's Feedback
Answer / ameen ansari
TYPRUN=SCAN in jobcard. This command will check the JCL for
syntax errors without executing the JCL.
Is This Answer Correct ? | 31 Yes | 3 No |
Answer / abc
use JJ command before submitting the job you can check the
errors and warning in the JCL
Is This Answer Correct ? | 12 Yes | 2 No |
Answer / hari babu k
Use JEM or JSCAN command before submitting the job you can
check the errors and warning in the JCL.
Is This Answer Correct ? | 12 Yes | 2 No |
once we submit the jcl and it give some error...press
f4..it will show the list of all the jobs the last job will
be the one u need to go in by typing "?" infront of it
then u will see the compliled job in which u will find all
sort of msgs which will tell u the problem area.
obviously u have to read throughly.
Is This Answer Correct ? | 9 Yes | 4 No |
Answer / ekambaram
JJM is followed in certain companies to check for ERRORS in
a JCL
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / upendra
JCLCHK can be also used to know the errors and warnings in
the JCL.
Is This Answer Correct ? | 3 Yes | 2 No |
Answer / fred
TYPRUN=SCAN should be used.
The EJCK,JSCAN .... etc are site specific and are not
shipped with your mainframe.
They are some tools that are written in REXX or some other
language that make the process easier. These commands might
not work in all shops.
Thanks
HTH
Is This Answer Correct ? | 1 Yes | 0 No |
I have a Symbolic Parameter which can have a value say 01 or 02 etc. Now consider i have another Symbolic parameters which is used to get 3 digit code of months (JAN, FEB, etc) but for that i need to check the first symbolic parameter's value and provide its corresponding month's name in the second symbolic parameter. Say IF sym1 = 01 then sym2='Jan' ENDIF etc... In JCL, IF condition is used for RC, ABEND purposes of a step etc. When i use Symbolic parameter in IF clause it is showing Error message. Is there a way to get the above result possible in JCL. If you could provide me with an example, i would understand it better.
What is a GDG
What is primary allocation for a dataset?
What are s0c1, s0c4, s0c5, s0c7 and socb?
Explain about LMMFIND - find a library member
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
when we use sysprint and sysout statements
//{name} INCLUDE MEMBER=memname {comments} in the include statement, what actually happens when its executed? The membername conatains a list of valid JCL statements, so will the include statement be substituted by these statements and how can we mention the pds that conatains the member? How does the include group differ from a PROC? how is include statement connected to JOBLIB and STEPLIB?
My JCL has 4 steps that execute PROC’s P1, P2, P3 and P4 as shown below //P1 EXEC PROC=P1 //P2 EXEC PROC=P2 //P3 EXEC PROC=P3 //P4 EXEC PROC=P4 There are four steps S1, S2, S3 and S4 in each PROC’s (i.e. P1, P2, P3 and P4) I want to execute only step S2 of PROC P2 and no other steps or PROC’s. How do you achieve this?
if we compile the cobol+ db2 program now ofter 5 years we need to compile again?
how can i use the parameters decalred in main pgm in sub pgm
What is a JCL Command statement ?