KB Article #68101

Truncation of PARM when transmit ?PARM to a PGM included in a "End of Tranfer" CL

Problem

-- PARM
-- CL
-- truncation
Truncation of PARM when transmit ?PARM to a PGM  included in a "End of Tranfer" CL


Resolution

Example of  Solution, case of  200 characters length ?PARM :
Replace  CALL   PGM(my_program) PARM('?PARM')    
     
by      CALL  PGM(my_program) PARM('-                                        
?1.50PARM-                                                              
?51.50PARM-                                                            
?101.50PARM-                  
?151.50PARM')  
( lines ?1.50PARM ... must begin at 1rst column, as card //BCHJOB)



or
CALL  PGM(CR_GWCRCV) PARM('+                                        
?1.50PARM+                                                              
?51.50PARM+  
...
(+ for continuation, without mandatory number for 1rst character).