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


Please Help Members By Posting Answers For Below Questions

how many printer files can be defined in f specs ?

971


which are the member types which seu supports?

815


what is a physical file?

1011


what is the maximum number of record formats in dspf?

995


is there any way I can ease my rpg controls on numeric input fields? How about an input date field?

616






how you will find an error which is not in the first page of the subfile without using rolldown key?

564


which are control break logic indicators?

639


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?

3070


what is the purpose of overrides?

1026


What is compiler directive in as400? Give example of compiler directive.?

578


how many printer files maximum can be used in single rpg program?

684


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

1934


how may a cgi control duplicate inputs?

599


what is rpg ?

947


what is *inzsr used for?

1484