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 |
RPG/400 number of Records present in a physical file using file information data structure FPF001 IP E DISK F KINFDS INFDS1 IINFDS1 DS I *RECORD RECORD Is this coding correct sir,i have given I P E that is I- input,P-primary file,E-externally described. Primary to use RPG logic cycle,is this the correct method because we have to find number of records present using file information data structure in RPG/400 without doing any input/output operations on the file and also without using DSPFD,SQL. If the above coding is correct means,when i compile the program it gets compiled,but if i call the program it does not return anything,i need number of records,please complete the coding sir.
1. I have2 records in a PF. READ PF DO DSPLY EMPNO RETRN DSPLY EMPNO ENDDO What was the output 2. SETON LR vs RETURN 3. Primary File 4. How to delete a deleted spaces 5. How to read a PF in reverse order in CL 6. I have a object in Lib A, B and C. But it shows in D Lib..Why? 7.
do you use message subfiles? What are the necessary keywords required coding a message subfile?
how can an indexed file be used as arrival sequence in RPG?
Setps to create .csv file on IFS folder in AS/400( V4R3)....?
Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?
Can we found a record existance in a file w/o reading the file?
6 Answers Traitsys Technologies,
How can a screen field that has changed since the last output operation be detected?
When will DUMP & DEBUG be ignored?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
what is a rpg?
If record-format name in an externally-described file has already been defined as a file-name.how to solve this?