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
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 |
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 |
Can we have a Physical file without any member ? Please let me know
Suppose you have 3 members in a database file. How to read records from all the members without using CL (OVRDBF) i.e. Entire process should be handled exclusively in a RPG program?
wat is the difference between array and multiple occurence data structure?
Need a sql query: retrive all duplicate records in table
What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
How can we make use of SETLL operation in CL?
Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?
How to update physical file in rpgle without using display file?
The RP program is displaying records 11 times .But there are 10 records in a pf.(ie last record is displayed twice).How to display records only 10 times?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
I have a file .In that file i have 3 fields. Those fields are eno, ename, esal.Keyfield is eno. In that file i have data like this for eno 1,2,3,4,5. Now i need to display 2nd record. That means i need to set the pointer on 2nd record... Then, write the complete rpg program using setll.