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


Please Help Members By Posting Answers For Below Questions

Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?

756


can you specify a display file to be used in the following modes input,output, or combined modes ?

943


how many specifications are there in rpg/400? What are they?

1098


How we will get issues on AS/400 technology ? I mean which issue/Defect Tracking tool is using in all companies when any issue comes? Can anybody explain about the work flow of AS/400 project ? plzzz

1157


can we use ASCII ,CDUP,SENDPASV commands in SFTP?

3152






what is the purpose of putovr (put with explicit override) keyword?

936


how to toggle between single line and multi - line display of a particular record in a subfile?

1088


In RPG How to read a records from a file without using read opcodes?

968


In Which Specs Arrays, Tables & Constants Are Defined?

704


what is the difference between seton lr and retrn?

1292


can we define multi-dimensional arrays in rpg ?

935


what is a logical file?

1047


records can be read/update/deleted with which file?

639


what are the uses of factor1, factor2 and result field for the rpg operation code parm?

586


what key word is used when screen is re-display?

653