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
 

 

Overwriting Keyword parameter's value in Easytrieve macros

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
Delip

New User


Joined: 13 Sep 2007
Posts: 45
Location: Bangalore

PostPosted: Tue Nov 20, 2007 2:59 am    Post subject: Overwriting Keyword parameter's value in Easytrieve macros
Reply with quote

Is it possible to change the default value of a keyword parameter when i am calling an external macro?
Back to top
View user's profile Send private message

Delip

New User


Joined: 13 Sep 2007
Posts: 45
Location: Bangalore

PostPosted: Tue Nov 20, 2007 7:32 pm    Post subject:
Reply with quote

I got the answer.
Back to top
View user's profile Send private message
IQofaGerbil

Active User


Joined: 05 May 2006
Posts: 183
Location: Scotland

PostPosted: Tue Nov 20, 2007 10:12 pm    Post subject: Reply to: Overwriting Keyword parameter's value in Easytriev
Reply with quote

...and for the curious, the answer was.............?
Back to top
View user's profile Send private message
Delip

New User


Joined: 13 Sep 2007
Posts: 45
Location: Bangalore

PostPosted: Tue Nov 20, 2007 11:43 pm    Post subject:
Reply with quote

Say teh external macro is defined like this,

MACROEX 1 PARM1 KWPARM 00

where KMPARM is keyword parameter with default value 0,

I am calling from my easytrieve job as below,

%MACROEX ABC KWPARM 40

in this way you are overwriting default value 0 by value 40.
Back to top
View user's profile Send private message
IQofaGerbil

Active User


Joined: 05 May 2006
Posts: 183
Location: Scotland

PostPosted: Wed Nov 21, 2007 4:19 pm    Post subject: Reply to: Overwriting Keyword parameter's value in Easytriev
Reply with quote

thanks
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 DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm


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