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 / megha

you can use on the RVTMBRD (file) NBRDTAMBRS(&var)
to get the number of data members on file

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1090


Can any one explain the basic things about RLU and Printer Files and their Definitions for both and why are they used,i'm a newbee so please help me out

2900


what is the length of a variable in rpg?

965


what is the maximum number of subroutines allowed in rpg?

1056


what are the three types of keywords associated with printer file ?

1010






How can we arrange duplicate records in a file?

601


why is as/400 called object oriented machine?

949


what is the maximum number of files allowed in rpg?

940


What is the Difference between command attention key and command function key ?

775


what is elastic and non elastic subrile?

563


If I want to execute Sftp commands(LS & GET) stored in Physical file from CL program automatically...Can u Plz tell me how can I do this?...How the script will look?? THANX FOR NY HELP...

2179


how do you use commitment control in rpg program ?

1277


what does dfu program you to do on a record?

729


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

1925


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

3145