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

To extract EIB data of a task


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jdeeponline

New User


Joined: 08 Sep 2009
Posts: 27
Location: Charlotte

PostPosted: Mon Feb 22, 2010 7:53 am
Reply with quote

I want to extract EIB data for a CICS task. I want to know if every command in CICS (Every time I use EXEC CICS) a corresponding set of EIB information is generated or not.

I am assuming that whenever I issue a CICS command I can use the corresponding EIB by referring directly to the EIB variables.
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 Feb 22, 2010 8:47 am
Reply with quote

If you use CEDF to trace through a transaction, you will note that the EIB data is maintained continuously. Some of the data changes every command, some of it only at certain times. The EIB data can be accessed at any time, though, in your program.
Back to top
View user's profile Send private message
jdeeponline

New User


Joined: 08 Sep 2009
Posts: 27
Location: Charlotte

PostPosted: Mon Feb 22, 2010 9:09 am
Reply with quote

So there is no specific command to procure the EIB data. It is just a associated parameter(s) that comes along with a CICS command. Is that correct?
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Mon Feb 22, 2010 10:20 am
Reply with quote

Hi jdeep,

icon_rolleyes.gif What do u mean by
Quote:
So there is no specific command to procure the EIB data

As Robert mentioned, you can always use or procure the EIB variables in the program. Elaborating more on Robert's point, if its for debugging purposes using CEDF is the easiest way to know how the EIB variables have changed during the course of a transaction.
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 Feb 22, 2010 6:10 pm
Reply with quote

If you look at a CICS compile, you will note that the EIB is inserted into your program by the preprocessor. You have no control over this -- you get the EIB whether you want it or not. hence my statement that these variables are constantly available. You can reference them without having to address them, or doing anything to make them available.
Back to top
View user's profile Send private message
jdeeponline

New User


Joined: 08 Sep 2009
Posts: 27
Location: Charlotte

PostPosted: Fri Mar 05, 2010 8:00 pm
Reply with quote

Thanks Robert.

Quote:
If you look at a CICS compile, you will note that the EIB is inserted into your program by the preprocessor. You have no control over this -- you get the EIB whether you want it or not.


If the program's preprocessor assigns these values, then I am assuming the EIB values will stay constant throughout the program, no matter how many times I use "EXEC CICS" statements.

Is that correct?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Mar 05, 2010 8:06 pm
Reply with quote

with one exception ...

Quote:
The EXEC CICS ASKTIME command is used to update the EIBDATE and EIBTIME fields with the current date and time. These fields contain either the date and time at which the current CICS task started or the date and time at which the latest ASKTIME command was executed whichever is the more recent.
Back to top
View user's profile Send private message
jdeeponline

New User


Joined: 08 Sep 2009
Posts: 27
Location: Charlotte

PostPosted: Fri Mar 05, 2010 8:14 pm
Reply with quote

That should be fine.

I am looking for EIBTASKN which is created for all CICS tasks. What I couldn't ensure was, whether each "EXEC CICS" in the program would be considered a separate and new CICS task and hence, lead to a new EIBTASKN everytime, or if it is set at the time of preprocessing of the program itself and remain the same as long as the program is in control.
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: Fri Mar 05, 2010 8:25 pm
Reply with quote

There's a new task number every time you do EXEC CICS START but using LINK or XCTL will not change the task number.
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 2
No new posts Store the data for fixed length COBOL Programming 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
Search our Forums:

Back to Top