CALLSUBR Questions and Answers

Recent IT Questions

1 - 1 of 1
<<PREVIOUS 1 NEXT>>

CPD0304 when using SUBR and ENDSUBR in CLLE

I know I've run into this the past, but I can't remember the fix.  I am using V5R4 and trying to use CALLSUBR in my CLLE.  I end my mainline with a RETURN, then I have a SUBR/ENDSUBR... and a 2nd SUBR/ENDSUBR.. then a ENDPGM.  When the compiler hits the 2nd SUBR I get a CPD0304 and it rejects...

View Answer   |  Oct 27 2009  4:10 PM GMT
CALLSUBR, SUBR, ENDSUBR
asked by JamesR

  70 pts.

1 - 1 of 1
<<PREVIOUS 1 NEXT>>