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 / vz
RTVJOBA - cmd can retrieve info about job,if type '0' -
batch job , '1'-interactive:
dcl &jobtype *char 1
rtvjoba type(&jobtype)
if &jobtype *eq '0'
sbmjob...
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
how many printer files can be defined in f specs ?
which are the member types which seu supports?
what is a physical file?
what is the maximum number of record formats in dspf?
is there any way I can ease my rpg controls on numeric input fields? How about an input date field?
how you will find an error which is not in the first page of the subfile without using rolldown key?
which are control break logic indicators?
1)In a pf if we delete a record then how to insert a new record at the same place in that pf?? any logic or code? 2)A batch job is taking a lot of time to run,found that it is going into loop and wrapping up so how to skip that loop and process the job without changing the code? 3)In which scenario C D I R comes and C D G F comes in a job? 4)If a job came to error while processing a file how we can know at which record the error hit and how to skip that record and process other records without changing program code?
what is the purpose of overrides?
What is compiler directive in as400? Give example of compiler directive.?
how many printer files maximum can be used in single rpg program?
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
how may a cgi control duplicate inputs?
what is rpg ?
what is *inzsr used for?