Okay everyone, I worked on this little problem some more.  Now it seems to
work if I run this if I just call the CL program.  It is a CLLE program.
However if the CLLE program gets called from the RPGILE program it still
does not work.  Anyway here is the code.

             PGM       PARM(&PSTSFLG)

                                                                       
             DCL        VAR(&PSTSFLG) TYPE(*CHAR) LEN(4)               
                                                                       
                                                                       
             CLRPFM     FILE(RCDEQ)                                    
                                                                       
             MONMSG     MSGID(CPF3130) EXEC(DO)                        
             CHGVAR     VAR(&PSTSFLG) VALUE('BAD')                     
             GOTO       CMDLBL(ENDTAG)                                 
             ENDDO                                                     
                                                                       
             MONMSG     MSGID(CPF3142) EXEC(CRTPF FILE(RCAPTOM/RCDEQ)) 
                                                                       
/* End-of-Job */                                                       
ENDTAG: 

Thanks again

Ron Klein                                                               
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].