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


In ProgramB there is a SBMJOB, which is a call to program C
.There is also a CALL to program D from B. How would you
check the program C has been executed in D?

Answers were Sorted based on User's Feedback



In ProgramB there is a SBMJOB, which is a call to program C .There is also a CALL to program D fr..

Answer / amit

Can Use Data Area to solve above problem
CHGDTAARA DTAARA(xyz) WITH STATUS 'N'
CALL PGM (PGMC)
MONMSG MSGID(CPF0000) EXEC(GOTO CMDLBL(SNDM))
CHGDTAARA DTAARA(xyz) WITH STATUS 'Y'
SNDM : -------

Now you can check with status in Data Area wether PGMC
Executed or not

Is This Answer Correct ?    6 Yes 0 No

In ProgramB there is a SBMJOB, which is a call to program C .There is also a CALL to program D fr..

Answer / kcsyam

DSPJOBLOG

Is This Answer Correct ?    1 Yes 1 No

In ProgramB there is a SBMJOB, which is a call to program C .There is also a CALL to program D fr..

Answer / david lex

On submission of program C, collect the job information.
Pass it to program D/load it in a data file/etc, then have
program D check the status of that job using a CL command
or an API.

Is This Answer Correct ?    1 Yes 1 No

In ProgramB there is a SBMJOB, which is a call to program C .There is also a CALL to program D fr..

Answer / samul

Using SNDPGMMSG in SBMJOB using MSGTYPE(*COMP) and In PGMB
receive the msg from pgmq if it is *COMP then sbmjob
completed normally.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More RPG400 Interview Questions

Interviewer asked me write down DDS for load all subfile .can anybody write dds

0 Answers  


Can we journel logical file and access path? Can we use commitment control for non-join L.F?

4 Answers  


How can we call CL program to RPG? How many number of parameter we can pass

2 Answers   TCS,


How to create a key field for a logical file inside RPG?

4 Answers   HSBC,


parameters cannot be passed in which one???

4 Answers   CTS,


Mr.Yallamanda Reddy P thanks for your answer sir,can we use test(D) opcode in RPG/400,if yes please help me by eloborating on that answer by writing a sample code for that sir

2 Answers   iGate,


How can we read a particular record from the database file which is not having DDS (Flat File). For example, there are 100 records in the flat file. How can we retrive 15th record in RPG/400 program (Without using CL)

6 Answers   CTS, IBM,


What is the purpose of record level identifier?

0 Answers  


can we use cl programming to update or delete physical files

12 Answers  


Hello, I want to extend a length of field in my Display file(Subfile). Please suggest the possible steps. Thanks

3 Answers  


Hi, I am getting the error in RPG (All Record Formats for externally-described file ABCD ignored or dropped due to error; file ignored.) Please suggest any

2 Answers   Satyam,


What are different ways to pass data between programs and which one is the efficient way?

5 Answers  


Categories