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

Overwriting Keyword parameter's value in Easytrieve macros


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

New User


Joined: 13 Sep 2007
Posts: 46
Location: Bangalore

PostPosted: Tue Nov 20, 2007 2:59 am
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: 46
Location: Bangalore

PostPosted: Tue Nov 20, 2007 7:32 pm
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
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: 46
Location: Bangalore

PostPosted: Tue Nov 20, 2007 11:43 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
No new posts Count the number of characters in a f... CA Products 1
No new posts Writing the output file name from a p... JCL & VSAM 7
Search our Forums:

Back to Top