How can we call CL program to RPG? How many number of parameter we can pass
Answers were Sorted based on User's Feedback
Answer / vaibhav bhardwaj
Use QCMDEXC API with length and CMD Parameters.
Cmd 32767A
Length 15P 5
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / ravi kumar
Hi,
CALL PGM(LIB1/ORDER)
Here ORDER is rpg prog in LIB1 library
| Is This Answer Correct ? | 1 Yes | 0 No |
explain sflclr, sflend, sfldlt, and sflcsrrrn?
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...........
Hello, I want to extend a length of field in my Display file(Subfile). Please suggest the possible steps. Thanks
How can you determine the number of characters in a variable?
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.
how we create binder member for updating service program and where we type this code on command line or in program ? strpgmexp pgmlvl(*current) export symbol (xyz0 endpgmexp. plz explain me this step by step .
what is ment by "MDT"
1.WHAT IS WRONG WITH THE CODE BELOW? C CUSTNO CHAIN CUSTMAST IF %ERROR can any body find the wrong please? 2.What builtin function will you use to achieve the following functionality? C QTY IFLT *ZERO C QTY MULT-1 QTY ENDIF
Can you copy the records created by the OPNQRYF to other files and how?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
if there is pf in two libraries and there is a logical file based on the PF, how to find the pf on which the pf is based.
What is the difference between ITER and DO ? I know both are used to execute set of statements repeatedly, but what is the main difference?