1. What is bound-by-call and bound-by-reference?
2. Where and why is *Nomain used?
3. What are the difficulties faced by programmers when using
service programs?
4. Explain the different ways of parsing and compiling XML
in iSeries.

Answers were Sorted based on User's Feedback



1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the..

Answer / ravi

No main is declared in H spec. This will be present in Service program and this is to indicate that this program don't have any main procedure. It cannot be called as a program seperately.

Is This Answer Correct ?    3 Yes 0 No

1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the..

Answer / sumit saharan

1. Bound by call is a static call where the code of called
program is inserted to the place during compile time.

In bound by reference only address of the called program is
passed and this is a dynamic call.


2. *Nomain is used for in module to tell this module cannot
be the entry point for any program.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More RPG400 Interview Questions

Can more than one subfile record be displayed on one line?

7 Answers   IBM,


while i am using the dspmsg command on comman line in Mocha am getting error like Not authorized to message queue message my messagequeue Name? can anybody help me how to change my message queue Am anable to see my messages in message queue

1 Answers  


Can any body give the code for this quesition? Using the following details write C-Spec code to set Name to"AMMU LABS SYSTEM" D NAME1 S 10 INZ('AMMU') D NAME2 S 10 INZ('LABS') D NAME3 S 10 INZ('SYSTEM') D NAME S 20

5 Answers  


How Commitment and Roll back control is used in as400, explain with real time senario ???

2 Answers   Acolite, HSBC,


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?

4 Answers  






Can an indexed file be accessed in arrival sequence in RPG?

3 Answers  


how to run only 10 modules of existing N modules in service program in RPGILE ?

3 Answers   Wipro,


How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.

4 Answers   IBM,


I know chain keyword retreive records randomly but how chain keyword exactly works internally????

4 Answers  


suppose we have 10 members in physical file and i have to use 4 out of 10 so how can we read this in RPG

3 Answers   TCS,


i want to perform uniqness on db file bt my db file nt hving key by useing rpgle.

3 Answers   HSBC,


How can i check the object existance in RPG program without using QCMDEXC command.

7 Answers   IBM, JDA,


Categories