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
 

 

To extract EIB data of a task

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: To extract EIB data of a task
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: 8054
Location: East Dubuque, Illinois, USA

PostPosted: Mon Feb 22, 2010 8:47 am    Post subject:
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    Post subject:
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    Post subject:
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: 8054
Location: East Dubuque, Illinois, USA

PostPosted: Mon Feb 22, 2010 6:10 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10255
Location: italy

PostPosted: Fri Mar 05, 2010 8:06 pm    Post subject: Reply to: To extract EIB data of a task
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    Post subject:
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: 8054
Location: East Dubuque, Illinois, USA

PostPosted: Fri Mar 05, 2010 8:25 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm


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