1) Suppose we call a pgm from CL, how come AS400 system
knows whether the called pgm is to be interactive one or
batch one?
2)How many members can exist in a PF?
Answer Posted / jherie
1. If you use the CALL command on the CL, it will be
interactive but if you want it to be a batch program you
have to use the SBMJOB command (SBMJOB (CALL PGMNME))
2. The number of members that can exist in a PF depends on
the MAXMBRS parameter value when the file was created. You
can view this value using the DSPFD on the PF. You can also
change its value using CHGPF command.
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
explain the purpose of keep and assume keywords?
which cl command can be used at program execution to redirect the file named in an rpg program?
what are the different commands used in rlu ?
define the purpose of the iter operation?
what is the command to know key fields of file?
why is as/400 called object oriented machine?
What is the Difference between command attention key and command function key ?
What is the draw back of Procedures? why we are going to Modules?
is it possible to create a physical file without dds?
how can u check no of records in a file?
how many files can be defined in f specs?
How can we update a specific field in RPG?
how many printer files maximum can be used in single rpg program?
Using %check we are checking monika in mona what is output? What is %SCAN?
Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP