Passing the parameters as PARM='a,b,c' results to JCL Error, IEFC640I EXCESSIVE NUMBER OF POSITIONAL PARAMETERS ON THE EXEC STATEMENT.
The aphost. gets lost calling PROCB from PROCA, parameters for PROCB are PARM=A,B,C,............ JCL Error of course.
Using the syntax PARM=(A,B,C) (as explained in IBM's JCL Guide) results in the Problem, that the parameters for PROGRAM are (A,B,C). The parenth. are part of the PARM String. PROGRAM does not process the parentheses.
Joined: 10 Oct 2003 Posts: 317 Topics: 50 Location: Germany
Posted: Thu Apr 15, 2004 11:59 am Post subject:
kolusu,
passing the parameters using '''a,b,c''' passes the parameters from jcl to jcl proca, but passing then the parameters from proca to procb doesn't work.
Using '''(a,b,c)''' doesn't work.
The problem is, what the called program in PROCB doesn't process parentheses.
The next problem is (in my opinion), what there are several level of jcl procedures. All solutions with ''' etc. work only with one level. Nested JCL Procs seems toi be a problem.
Sorry, what I cann't agree with your solution, but thank you for your quick reply.
Joined: 10 Oct 2003 Posts: 317 Topics: 50 Location: Germany
Posted: Fri Apr 16, 2004 1:08 am Post subject:
kolusu,
thank you very much for your reply.
Your solution works, but the program, called from PROCB, in your example the SORT program, doesn't accept the parentheses. The parentheses are part of the passed parameters, this is the problem.
The checked the JCL documentation, did some testing with different combinations of parentheses and aphostrops. But no solution.
We change now the called program to accept the parentheses.
If the called program is an IBM Tool, software from third party etc. and dosn't accept the parentheses (like IBM PL1 Compiler, Version 2.3), is this situation there is an big problem dealing with nested JCL procs.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum