shuhaibk54
Technical User
Hi,
I am pretty new in the rexx coding I have a requierement to pass value from one to another program can any one help me out on this ..i tried to wite the code(see belwo simple code for model )
Explanation:fisrt calling prgm get the data from user and call the second pgm(called) with passing value .other pgm trying to get the value from first and dispaly it..But i am getting below error ...
IRX0043I Error running CALL, line 4: Routine not found (both pgm are in same PDS)
calling:
------------------------------
/* REXX*/
PULL DATE
ARG1 = SUBSTR(DATE,1,2)
CALL RESULT(ARG1)
--called----------------------------
/* REXX */
ARG DATE1
SAY DATE1
------------------------------
I am pretty new in the rexx coding I have a requierement to pass value from one to another program can any one help me out on this ..i tried to wite the code(see belwo simple code for model )
Explanation:fisrt calling prgm get the data from user and call the second pgm(called) with passing value .other pgm trying to get the value from first and dispaly it..But i am getting below error ...
IRX0043I Error running CALL, line 4: Routine not found (both pgm are in same PDS)
calling:
------------------------------
/* REXX*/
PULL DATE
ARG1 = SUBSTR(DATE,1,2)
CALL RESULT(ARG1)
--called----------------------------
/* REXX */
ARG DATE1
SAY DATE1
------------------------------