Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?

Answers were Sorted based on User's Feedback



1) Suppose we call a pgm from CL, how come AS400 system knows whether the called pgm is to be inte..

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

1) Suppose we call a pgm from CL, how come AS400 system knows whether the called pgm is to be inte..

Answer / abhishek

Use RTVJOBA and use first 1 byte variable to find, if valus
is 0 job is batch 1 is for interactive.

Number of members parameters need to be set, can be set to
*NOMAX also.

Is This Answer Correct ?    7 Yes 1 No

1) Suppose we call a pgm from CL, how come AS400 system knows whether the called pgm is to be inte..

Answer / babbi

Jiju,

My question is, how come AS400 system knows it not the user?
We can directly understand by looking at command, no need to
use F18.

Is This Answer Correct ?    3 Yes 1 No

1) Suppose we call a pgm from CL, how come AS400 system knows whether the called pgm is to be inte..

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

1) Suppose we call a pgm from CL, how come AS400 system knows whether the called pgm is to be inte..

Answer / jiju

USE SHIFT F6...

Is This Answer Correct ?    2 Yes 1 No

1) Suppose we call a pgm from CL, how come AS400 system knows whether the called pgm is to be inte..

Answer / ankur saini

hello friend im ankur "Fresher "

maximum member of a pf can be 32767 and u can set as pas req. by maxmbr when u r going to compile pf source crtpf cmd

2nd one , all job are remain in wrkactjob and system have all details of every cmd and there are seperate subsystem to handle interactice job are handle by Qinter subsystem and batch job Qbatch from there system gets know

i HOPE SOMEONE satsfy with it !!! thank u

Is This Answer Correct ?    0 Yes 0 No

1) Suppose we call a pgm from CL, how come AS400 system knows whether the called pgm is to be inte..

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

More IBM AS400 AllOther Interview Questions

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

0 Answers  


I/o error detected,Record Out of sequence,Permanent I/o error occured....I mean give one eg for these errors...i understand only,update/delete operation without prior read oprn..give details of remaining

1 Answers   CTS,


How many PARM statement can we use in a CL program?

6 Answers  


define the purpose of the *bcat function?

1 Answers   IBM,


What is SDA used for?

7 Answers  


Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?

0 Answers   ITTI Pvt Ltd,


What is a job log?

1 Answers  


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...

0 Answers  


Explain The Keywords Edtcde & Edtwrd?

0 Answers   IBM,


What is file information data structure(infds) in as400?

0 Answers  


What is the difference between keys of a Physical file and the keys of a logical file?

2 Answers   Bank Of America, BoA,


How can we find from which source the program has been compiled for a given RPGLE program object?

5 Answers  


Categories