Maximum number of options in CICS Command



Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

Maximum number of options in CICS Command

Postby nikesh_rai » Mon Sep 09, 2013 1:24 pm

Hi Guys,

I went for a interview.. there was a question about what is the maximum number of options we can use in a CICS command. I have google it, but didn't get the answer. Can you please help me if someone knows about it..?
Thanks
Nikesh Rai
nikesh_rai
 
Posts: 205
Joined: Tue Oct 18, 2011 1:27 am
Has thanked: 17 times
Been thanked: 0 time

Re: Maximum number of options in CICS Command

Postby NicC » Mon Sep 09, 2013 6:02 pm

It depends on the command. It will be maximum number of options that that command has code to handle. Some commands may have no options - I am no CICS programmer so that is just a guess. If not zero then 1.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: Maximum number of options in CICS Command

Postby nikesh_rai » Mon Sep 09, 2013 6:26 pm

They gave me options 4,8,12 and 16. I have used more than 4 option in a CICS command.. but not sure if I have used more than 8 or not.. I saw some of the macros have more than 8 options e.g., DFHPPT, but can we consider Macros as CICS command.. I am also not sure.. :)
Thanks
Nikesh Rai
nikesh_rai
 
Posts: 205
Joined: Tue Oct 18, 2011 1:27 am
Has thanked: 17 times
Been thanked: 0 time

Re: Maximum number of options in CICS Command

Postby mongan » Mon Sep 16, 2013 6:56 pm

What do you mean by Command? An EXEC CICS in a program I presume?
User avatar
mongan
 
Posts: 211
Joined: Tue Jan 11, 2011 8:32 pm
Has thanked: 1 time
Been thanked: 5 times

Re: Maximum number of options in CICS Command

Postby nikesh_rai » Mon Sep 16, 2013 7:13 pm

Yes.. in EXEC CICS command.. I found it in a manual where it was written we can give at max 16 conditions for a single HANDLE command. I don't know if it applicable for other commands as well
Thanks
Nikesh Rai
nikesh_rai
 
Posts: 205
Joined: Tue Oct 18, 2011 1:27 am
Has thanked: 17 times
Been thanked: 0 time

Re: Maximum number of options in CICS Command

Postby Robert Sample » Mon Sep 16, 2013 11:30 pm

From the V5.1 Messages manual (emphasis added):
DFH7063I E

IMPLEMENTATION RESTRICTION: MORE THAN xxxxxxxx OPTIONS IN ONE COMMAND. xxxxxxxx OPTION IGNORED.
Explanation

An EXEC CICS command contains too many options with arguments. The number of options with arguments allowed is, for most commands, kept within the allowed maximum by the command definition. However certain commands such as the HANDLE and IGNORE commands allow more options than the maximum allowed on each command instance.
System action

When the maximum number of options is reached, this number usually being 16, the remaining options specified are rejected. In other words the command together with the first 16 options specified is accepted.

These users thanked the author Robert Sample for the post:
nikesh_rai (Tue Sep 17, 2013 11:24 am)
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Maximum number of options in CICS Command

Postby nikesh_rai » Tue Sep 17, 2013 11:24 am

Thanks Robert.. :)
Thanks
Nikesh Rai
nikesh_rai
 
Posts: 205
Joined: Tue Oct 18, 2011 1:27 am
Has thanked: 17 times
Been thanked: 0 time


Return to CICS

 


  • Related topics
    Replies
    Views
    Last post