How can we receive values from a called procedure in CL?
Answer / syed
Using CALLPRC Command with the return variable parameter.
| Is This Answer Correct ? | 1 Yes | 0 No |
What is the difference between copybooks and subprocedures in as400?
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)
How do you find out whether a record is present in the physical file without reading the file? for Example Employee No: 100 in an Employee master.How do we find out whther 100 is present in Employee master without reading the file?
11 Answers Bank Of America, CSC, IBM,
What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found that pgmC having some code error..then in debug mode directly how can i debug pgmC
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...?
How do you do indexing in a physical file?
How can i check the object existance in RPG program without using QCMDEXC command.
How can you determine the number of characters in a variable?
1.Coding in cl to send an message? 2..What is turnover and use? What are the different levels?
A pgm subroutine calling child subroutine, that child subroutine again calling parent subroutine, u have 1000 lines of code, with out debugging , how can u find that error??? Is there any command to find errors in pgm???