when I use the remote syntax check, the following job card from the property group is used:
//<JOBNAME> JOB ,
In our environment (RDz 126.96.36.199) the <JOBNAME> is replaced with HLQ of the dataset of the source followed by a 1.
Is it possible to parametrize the jobname with the current userid instead of the HLQ (something like %USERID%)?
Pinned topic Parametrize JCL JOBCARD <JOBNAME>
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-10-17T09:57:20Z at 2012-10-17T09:57:20Z by gb12345
J_Ham 270000H2BP17 Posts
Re: Parametrize JCL JOBCARD <JOBNAME>2012-10-09T13:23:28ZThis is the accepted answer. This is the accepted answer.Interesting... When I submit a Remote Compile, the JCL created substitutes my Userid (A001631).
Here is my property group JCL tab information:
//<JOBNAME> JOB (18597,DART,DART),'RDZ SUBMITTED JOB',
And here is the resulting JCL that was substituted:
//A001631 JOB (18597,DART,DART),'RDZ SUBMITTED JOB', JOB09956
Edit your Property Group assigned to the COBOL member, look at the JCL tab and make sure the substituted JOB CARD has <JOBNAME> not <HLQ>.
Grasshoppa 270007RSBJ4 Posts
Re: Parametrize JCL JOBCARD <JOBNAME>2015-11-11T17:58:03ZThis is the accepted answer. This is the accepted answer.
When you select the 'Compile Link' generation, does it prompt you for any input?
It should ask for a job name, Member name, and JCL dataset name