View previous topic :: View next topic
|
Author |
Message |
PRV
New User
Joined: 16 Apr 2009 Posts: 15 Location: Pune
|
|
|
|
In my easytrieve pgm.
PARM LINK(SAGFN099 R)
Is the starttin statement of pgm.
can anyone tell me the purpose of PARM.
When I searched I found it is used to create a pgm specific environment .
Can anyone simplify this ?
also why we give R after pgm name ? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
The parm you posted is used when creating a load module (link edit) for your Easytrieve module. The ",R" is to replace the load module if it already exists.
There are many options that might be used on a parm statement. You need to read the documentation for your release of Easytrieve. |
|
Back to top |
|
|
jimmybhandari
New User
Joined: 04 Jun 2009 Posts: 13 Location: bangalore
|
|
|
|
dick scherrer wrote: |
Hello,
The parm you posted is used when creating a load module (link edit) for your Easytrieve module. The ",R" is to replace the load module if it already exists.
There are many options that might be used on a parm statement. You need to read the documentation for your release of Easytrieve. |
Hi, i want to create an ezt load module with the requirement that i should be able to pass the file declarations after creating load module.
e.g if the declaraation is as below,
File file1
var1 x y
i want to pass the values for x and y to the load module while executing it. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
i want to pass the values for x and y to the load module while executing it. |
Suggest you re-consider. . .
I believe the closest you'll get is to generate new Easytrieve source on the fly with the values you want. This new code could be compiled or run interpreted. |
|
Back to top |
|
|
jimmybhandari
New User
Joined: 04 Jun 2009 Posts: 13 Location: bangalore
|
|
|
|
dick scherrer wrote: |
Hello,
Quote: |
i want to pass the values for x and y to the load module while executing it. |
Suggest you re-consider. . .
I believe the closest you'll get is to generate new Easytrieve source on the fly with the values you want. This new code could be compiled or run interpreted. |
Creating a load module makes sure that the source code is not visible to user. If it is not possible to create such a load module for which we can keep changing variable declarations, is there any other way to hide easytrieve code from user or, to make the main code uneditable. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
How does the user submit the job? |
|
Back to top |
|
|
|