Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

PARM in Easytrieve

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: PARM in Easytrieve
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

Site Director


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

PostPosted: Tue May 26, 2009 12:13 am    Post subject:
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    Post subject: Can we change file declarations after create load module
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

Site Director


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

PostPosted: Fri Aug 07, 2009 9:27 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Sat Aug 08, 2009 1:18 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am
No new posts Using 'parm' to vary SORTOUT record v... Sysaron DFSORT/ICETOOL 13 Wed Sep 07, 2016 9:24 pm
No new posts RACF Easytrieve Plus macro Susan Jackson CA Products 0 Fri Jun 03, 2016 8:25 pm
No new posts Copy a particular column based on PAR... brindhamohan DFSORT/ICETOOL 5 Wed May 11, 2016 8:49 am
No new posts Use of Parm in SORT Ambili S DFSORT/ICETOOL 2 Mon May 09, 2016 9:16 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us