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

suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg

2 Answers   Polaris,


how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE

3 Answers   iGate,


How to declare the pull button in AS/400..

0 Answers  


When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

0 Answers  


HOW DO YOU DISPLAY A DISPLAYFILE AT OTHER WORKSTATION? CAN WE MOVE A PHYSICAL FILE? WITHOUT MOVING A FILE?

2 Answers  






why we do STRSRVJOB in batch debugging in as400

1 Answers  


1.Where we declare Variables in RPG/400,RPGIV,RPGILE.? 2.When do we use D-spec and I-spec in real time ?.what is difference between them?

1 Answers   HP,


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

4 Answers   HSBC,


How to read a record from file where there is multiple record occurrence is available?

1 Answers  


use of PUTOVR,OVRDTA,KEEP keywords?

2 Answers   HCL,


suppose if we want to update the data in cl what we will do?

9 Answers  


can you debug ile rpg program using isdb?

0 Answers   IBM,


Categories