I have one CL program named : T1
and another on SQLRPGLE : S1
and I am calling T1 program from S1
sample program
C CALL T1
C .......
C/EXEC SQL
C DELETE .....
C/END-SQL
C SETON LR
I have compiled T1 with option 14 and seperatly it is running and I have compiled S1 through CRTSQLRPGI OBJ(DASTEST/S1) SRCFILE(DASTEST/DASTESTSRC) COMMIT(*NONE)
while compiling it is showing NO ERRORS
But, while running the program it is showing error "Error occurred while calling program or procedure dastest/T1 (C G D F)"
if pressed "D" it shows
"Application error. MCH3401 unmonitored by DO2 at statement 0000000073, inst"
CAN ANYONE TELL ME OUT WHERE I AM DOING MISTAKE
NB: ALL PROGRAMS ARE ON THE SAME LIBRARY
and another on SQLRPGLE : S1
and I am calling T1 program from S1
sample program
C CALL T1
C .......
C/EXEC SQL
C DELETE .....
C/END-SQL
C SETON LR
I have compiled T1 with option 14 and seperatly it is running and I have compiled S1 through CRTSQLRPGI OBJ(DASTEST/S1) SRCFILE(DASTEST/DASTESTSRC) COMMIT(*NONE)
while compiling it is showing NO ERRORS
But, while running the program it is showing error "Error occurred while calling program or procedure dastest/T1 (C G D F)"
if pressed "D" it shows
"Application error. MCH3401 unmonitored by DO2 at statement 0000000073, inst"
CAN ANYONE TELL ME OUT WHERE I AM DOING MISTAKE
NB: ALL PROGRAMS ARE ON THE SAME LIBRARY