ESCAPE message sent by child program can be handled by
parent program using which keyword?

Answers were Sorted based on User's Feedback



ESCAPE message sent by child program can be handled by parent program using which keyword?..

Answer / kuldeep sharma

After the call of Child program put a MONMSG for CPF9999.

NOTE:

You need to capture CPF9999 in the parent program not
CPF0000.

Is This Answer Correct ?    4 Yes 1 No

ESCAPE message sent by child program can be handled by parent program using which keyword?..

Answer / rashmimalpani

I guess SNDPGMMSG and then the error. I m not sure about
the answer

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More RPG400 Interview Questions

Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

0 Answers  


What would be the effect on the field where reverse image, underline and high intensity?

7 Answers   IBM,


Delete FileName at first statement in RPG.

1 Answers  


I am reading a file in CL program. and MONMSG CPF0864 has arrived means EOF has arrived. Now i want to read this file again. How i can do this?

5 Answers   CitiGroup, Symphony,


As400 Command to find the Name of the Program to which a Particular Module is Bound..? Ex: IC210AMR (*MODULE) is bound with Other Modules which Forms Program Object as IC210ABP(*PGM) . As400 Command to find the IC210ABP Using IC210AMR..? Thanks

5 Answers   CTS,






How can we receive values from a called procedure in CL?

1 Answers   IBM, NTT Data,


I am Submitting one job in batch that job calls three progams(PGMA, PGMB, PGMC). PGMB should be called after sucessfully completion of PGMA as like for PGMC also. So Can you please tell me how can we do that (without using data area)

2 Answers   CTS,


how do you use commitment control in rpg?

0 Answers   IBM,


explain sflclr, sflend, sfldlt, and sflcsrrrn?

0 Answers   IBM,


What is a record lock error?

0 Answers   Wipro,


HOW TO DELETE THE RECORD FROM MASTER FILE WHICH IS LINK BY ANOTHER TRASATION FILE WITH REFERTIAL INTYGRITY?

1 Answers   TCS,


Q:HI friends accually ihave one problem plesase let me know the alternate code of this code. Related field description of code: Add a field, CALvsPRD, "Calendar Day Starts Before/After Production Day" to the parameter set WRKORDER which accepts values 'A' or 'B' o B = Calendar Day Starts Before Production Day o A = Calendar Day Starts After Production Day o Any other value indicates the production and calendar dates are always the same. code: Automatic Execution Of *INZSR Subroutine /Z01 * retrieves WRKORDER field values. /Z01 * Calculate default Production Date and return it to caller. /Z01 * Production date defaults to system date /Z01 C Eval P@Pdate = %DATE() /Z01 * unless Calendar date starts Before PDN(production) date and /Z01 * system time is before PDN Start Time then /Z01 * PDN date is yesterday. /Z01 C If W@CALvsPRD = 'B' and /Z01 C %TIME() < %TIME (W@Strtime) /Z01 C Eval P@Pdate -= %Day(1) /Z01 * unless Calendar date starts After PDN date and /Z01 * system time is *GE PDN(production) Start Time then /Z01 * PDN date is tomorrow. /Z01 C ElseIf W@CALvsPRD = 'A' and W@Strtime > *Zero and /Z01 C %TIME() >= %TIME (W@STrtime) /Z01 C Eval P@Pdate += %Day(1) /Z01 C EndIf /Z01 C Eval *InLr = *On

0 Answers   IBM,


Categories