How do you call procedures in ILE?
Answers were Sorted based on User's Feedback
Answer / rajesh
we can directly call the procedure using CALLP.
or you can create a module to perticular procedure and we can bind that module. where ever we need we can use that program or module.
| Is This Answer Correct ? | 2 Yes | 0 No |
1.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?
I have some doubts on subfile----------- -----I wrote a prog on subfile to display the records. Every thing is clear but i defined a field called "opt" as input field in subfile record format from that input field i wish to enter into new screen called "EDIT" which i created it as a separate RCD in display file. i gave opt as 2 for edit just like in WRKMBRPDM screen please telll me the code and how can i code for it in RPG.
I know whole thing ab't Arrays related to declaration..can anyone tell me what exactly use of array or anyone faced a situation where he found use of array must....
what is importance of 'MAPFLD' IN OPNQRYF FILE ?
can any body correct the following code? Following a procedure which returns the maximum of two numbers.Correct the following code. P GETMAX B D GETMAX PI D NUM1 35 0 D NUM2 45 0 C IF NUM1 > NUM2 C RETURN NUM1 C ELSE C RETURN NUM2 C ENDIF P GETMAX E
Need a sql query: retrive all duplicate records in table
there is any limit to display the members in rpg400?
CAN WE READ RECORDS WITHOUT USING SETLL,READ,CHAIN IN RPG?
How do you know if a record exists without doing a READ and CHAIN?
if i have three programs progA,progB and progC .now i call progB from progA. but the progB does not exist . now i want to call progC instead of starting dump. how can we achieve this.
suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .
Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?