On Thursday, January 22, 1998, 07:26 AM, Palarco wrote: why does DFTACTGRP *no have to be specified when using subprocedures within a program? This makes a simple report program with OVRDBF's more complex by having to mess with activation groups. Everything I've read states that subprocedures within a program(not external) are replacements for subroutines except with local variable capability...what gives? I wouldnt generally recommend running ile pgms in the default activation group, but given that you already are.... you could specify ACTGRP(*CALLER) on the compile. If the caller (which presumably does the ovrdbf's) is running in *dftactgrp so will your report program, and your ovrdbf's will behave in an opm-like manner. Subprocedures are not replacements for subroutines. Perhaps some more reading is in order... Try IBMs href="http://as400bks.rochester.ibm.com/cgi-bin/bookmgr/bookmgr.cmd/BOOKS/QBKAQ7 00/CCONTENTS">ILE Concepts and the href="http://as400bks.rochester.ibm.com/cgi-bin/bookmgr/bookmgr.cmd/BOOKS/QBKAQD 01/CCONTENTS">ILE RPG Programmers Guide. Derek

Reply With Quote