IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

PARM in Easytrieve


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
PRV

New User


Joined: 16 Apr 2009
Posts: 15
Location: Pune

PostPosted: Mon May 25, 2009 1:53 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue May 26, 2009 12:13 am
Reply with quote

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
View user's profile Send private message
jimmybhandari

New User


Joined: 04 Jun 2009
Posts: 13
Location: bangalore

PostPosted: Fri Aug 07, 2009 8:38 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Aug 07, 2009 9:27 pm
Reply with quote

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
View user's profile Send private message
jimmybhandari

New User


Joined: 04 Jun 2009
Posts: 13
Location: bangalore

PostPosted: Fri Aug 07, 2009 10:50 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Aug 08, 2009 1:18 am
Reply with quote

Hello,

How does the user submit the job?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts JCL EXEC PARM data in C Java & MQSeries 2
No new posts Need to specify PARM='POSIX(ON) Java & MQSeries 4
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts Count the number of characters in a f... CA Products 1
No new posts File matching functionality in Easytr... DFSORT/ICETOOL 14
Search our Forums:

Back to Top