How can we receive values from a called procedure in CL?
Answer Posted / syed
Using CALLPRC Command with the return variable parameter.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is file identifier where we can use?
what is the use of sflnxtchg?
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?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
which program rpg or cl is efficent to update a transaction onto a database file and why ?
How many program bind in one module....
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
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.
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
are there any useful c runtime apis that I can call from rpg iv?
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...........
What are the types of identifiers?
How to handle duplicate error handling in RPG?
what is file information data structure?