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

when should I use method get, and when should I use method post in my cgis?

615


is it there an easy way to determine if an html section is available to issue a wrtsection upon?

569


maximum number of subfiles that can defined in a rpg program for one display file is?

1044


what are the important factors in error message subfile ?

568


hi guys i am new for sqlrpgle, please suggest me good websites and theory and coding. plz plz its very urgent.

2132






if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?

1008


what are various techniques to pass parameters from one program to another?

1054


what are different record spacing keywords in rlu ?

1211


in conjunction with what other keyword must ovrdta and ovrata be used?

925


Difference Between Source Physical File & Physical File?

644


which indicator is used for read?

631


a multiple format logical file is also known as?

597


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

1015


http default port 80 is used by some other production http service. How can I create an http instance on another port to run cgidev2 and my future cgi developments?

595


1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?

409