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

IEACMD and COMMND members priority


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Hunny Sachdeva

New User


Joined: 11 Jun 2009
Posts: 20
Location: india

PostPosted: Mon Jul 06, 2009 11:05 am
Reply with quote

Hi,

If a same command but with different parameters is specified both in IEACMD00 and COMMNDxx members, will both be executed?
Which one will be executed first?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Jul 06, 2009 5:04 pm
Reply with quote

Is it really that hard to find the MVS Iniitialization and Tuning Reference manual for your system? Is it really that hard to actually read the manual yourself?

The manual does say
Quote:
An installation that uses the optional COMMNDxx parmlib member should check for commands in COMMNDxx that conflict with commands in IEACMD00, and resolve any conflicts.
In other words, if you have conflicts your system may or may not IPL, depending upon the conflicts. Also note from the manual:
Quote:
The order in which task-creating commands appear in IEACMD00 does NOT guarantee the order in which they are executed. Thus, IEACMD00 should not be used for commands that must be executed in a specific order.
So the order of execution may not be the order they appear in the member.

From looking at my sandbox system, IEACMD00 is accessed immediately before the COMMNDxx member, but I suspect the order of command execution depends upon the commands just as it says in the manual.
Back to top
View user's profile Send private message
Hunny Sachdeva

New User


Joined: 11 Jun 2009
Posts: 20
Location: india

PostPosted: Mon Jul 06, 2009 5:09 pm
Reply with quote

Well thanks Robert..

i asked this question while i was reading the above mentioned manual and wanted to know the practical approach...

as per order i wanted to know in case of conflict which will be executed one from IEACMD or COMMND...
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Jul 06, 2009 5:14 pm
Reply with quote

They'll both be executed; I believe the order would be IEACMD first and then COMMND but I'm not going to risk my sandbox system by testing this.

Practically, as the manual says, reserve IEACMD00 for the IBM supplied initialization commands and use COMMNDxx for your site specific commands. That way there won't be any conflicts and you don't really care which executes first since there's only one version of each command.

Also, be aware that if you're using Computer Associates software their CAIRIM product also executes system commands during IPL, so it may be a third source of commands for you to consider.
Back to top
View user's profile Send private message
Hunny Sachdeva

New User


Joined: 11 Jun 2009
Posts: 20
Location: india

PostPosted: Mon Jul 06, 2009 5:21 pm
Reply with quote

Thanks indeed Robert..

We have got rid of CA altogether, just for curosity does CAIRIM cuase conflict in that case..
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Jul 06, 2009 5:25 pm
Reply with quote

No, typically the CAIRIM commands are starts for CAI products only. You could put other commands in there but again the site system programmer is responsible for ensuring that there's no conflicts.
Back to top
View user's profile Send private message
Hunny Sachdeva

New User


Joined: 11 Jun 2009
Posts: 20
Location: india

PostPosted: Mon Jul 06, 2009 5:30 pm
Reply with quote

Fine Robert Thanks for the info
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Duplicate several members of/in one l... JCL & VSAM 7
No new posts list pds members name starting with xyz CLIST & REXX 11
No new posts REXX editmacro to compare two members... CLIST & REXX 7
No new posts Easy way to delete selected members f... IBM Tools 12
No new posts To find an array of words (sys-symbol... JCL & VSAM 9
Search our Forums:

Back to Top