Hi every one, my fist postâ?¦
I have CLLE type program which does OVRDBF to File-To and Open Query File to File-From, than calls RPGLE program which reads File-From and writes to overridden File-To. The problem I have is that RPGLE program does not see Open Query File or Override and writes everything into main member.
CLLE program created using command:
CRTBNDCL PGM(xxxLIBR/xxx01CL)
SRCFILE(xxxLIBR/xxxSRC)
SRCMBR(xxxx01CL) TEXT(*SRCMBRTXT)
DFTACTGRP(*NO) ACTGRP(*NEW)
RPGLE contains from 2 modules and created using command:
CRTPGM PGM(xxxxLIB/xxxxPGM) MODULE(MODULE1 MODULE2)
In some other cases I got around by compiling RPGLE using Create Bound RPG Program command and entered in H specs override for activation group:
[h dftactgrp(*no) actgrp(*caller)] but in this case I cannot use that since module will never compileâ?¦
I also tried to create CL module which runâ??s Open Query File and bind it into RPGLE program, than in main RPG module open files manually it works this way just fine. But I am just wondering if somehow I can make RPGLE to be in same activation group as calling CLLE so file overrides could be seen.
Thanks.
I have CLLE type program which does OVRDBF to File-To and Open Query File to File-From, than calls RPGLE program which reads File-From and writes to overridden File-To. The problem I have is that RPGLE program does not see Open Query File or Override and writes everything into main member.
CLLE program created using command:
CRTBNDCL PGM(xxxLIBR/xxx01CL)
SRCFILE(xxxLIBR/xxxSRC)
SRCMBR(xxxx01CL) TEXT(*SRCMBRTXT)
DFTACTGRP(*NO) ACTGRP(*NEW)
RPGLE contains from 2 modules and created using command:
CRTPGM PGM(xxxxLIB/xxxxPGM) MODULE(MODULE1 MODULE2)
In some other cases I got around by compiling RPGLE using Create Bound RPG Program command and entered in H specs override for activation group:
[h dftactgrp(*no) actgrp(*caller)] but in this case I cannot use that since module will never compileâ?¦
I also tried to create CL module which runâ??s Open Query File and bind it into RPGLE program, than in main RPG module open files manually it works this way just fine. But I am just wondering if somehow I can make RPGLE to be in same activation group as calling CLLE so file overrides could be seen.
Thanks.
Comment