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 |
1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.
Suppose my file has 10 fields and I want to make the 2nd field zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation?
how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.
Q1.How to read the Array? Q2.How to copy the content of one Array to another Array?
can anyone say,what is the use of operation extended H/N/P?
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)
What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field?
what is the difference between SETON RT & RETURN?
what is plat file?
Can anybody tell me the setps to create .csv file in IFS folder on AS/400. I also need to know how I can send this .csv file to PC in xls sheet.....?
we are sending data of physical file to screen design and it is showing no record why?
Mr.Sidc sirfor my question{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} you have answered using MOVE opcode,can you illustrate me with a small example sir very kind of you.