in my program soc7 error has occured how do i know which line has error?
i have hundreds of line in my pgm?
i want to execute particular steps in jcl using condition parameter
need sample pgm. i already search this forum i get answers but the examples are used IEB EDIT BUT I NEED EXAMPLES IN CONDITION PARAMETER
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
I'm not a cobol programmer but I think that using the offset displayed in your sysldump you will able to search in your last compilation sysout to retrieve this kind of information.
About cond parameter...
Execute particular step in jcl using condition parameter does not mean nothing.
In jcl you can execute a particular step using IEBEDIT or submitting only the step deleting the other or using a SUB .A .B to delimit your step or using a final delimiter to stop the execution of your jcl.
The use of COND parameter is useful in jcl but only for a top down method of submitting that require almost two step and one of this must be the first.
We have a jcl within two steps, imagine that you want to run second step only using a cond... it is not possible without executing the first! Cond parameter refer to a return code of a previous step, so you can understand that without a previous cond you cannot execute only one step a time.
You can abend you first step and executing the second with a COND=EVEN but in this case you MUST abend your first step that in this logic is equal to execute it.