How can we call CL program to RPG? How many number of parameter we can pass

Answer Posted / ravi kumar

Hi,


CALL PGM(LIB1/ORDER)

Here ORDER is rpg prog in LIB1 library

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can I tell when to replace the array?

710


do you use message subfiles? What are the necessary keywords required coding a message subfile?

698


What is difference between bind by copy and bind by reference?

1741


what is file information data structure?

1392


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2209






What is file identifier where we can use?

658


which program rpg or cl is efficent to update a transaction onto a database file and why ?

751


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

762


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...?

1472


how do I declare a minor?

724


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

557


are there any useful c runtime apis that I can call from rpg iv?

711


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

720


how do I preserve and clean the array?

682


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

837