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

addressability to initial transaction input screen


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

New User


Joined: 05 Nov 2007
Posts: 19
Location: Monterey CA

PostPosted: Thu Mar 13, 2008 2:12 am
Reply with quote

Can anyone tell me how to gain addressability to the inital screen returned from CICS (the one that contains the transid)? Or point me to the proper manual in the bookshelf? I can't find anything.
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Thu Mar 13, 2008 2:59 am
Reply with quote

not sure I understand the question.

gain addressability from where ?
Back to top
View user's profile Send private message
Harvey Sullivan

New User


Joined: 05 Nov 2007
Posts: 19
Location: Monterey CA

PostPosted: Thu Mar 13, 2008 3:16 am
Reply with quote

For example how to set a pointer to it so I can read the data that is there. something like the address function to get at the cwa or the assign function to gain adressability to the tctua. I have a program that I am converting from macro to command level and the initial screen contained a value (in addtion to the transid) that the program uses. In this case the user enters xxxx,yyyy where xxxx=transid for CICS and YYYY is a value that the program does something with.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Mar 13, 2008 5:06 am
Reply with quote

Do you need to "READ" a users terminal buffer after the screen has been sent and return that terminal buffer to your own terminal for scrutiny, sort of like an "ISPY" function? icon_wink.gif

This sounds like a pre-emptive transaction, which starts asynchronously against a given users terminal.

Because once a transaction (program) sends a screen and issues a CICS RETURN, you're done and their's no addressability available, because it's been returned to the operating system, with the next invocation of that transaction to be launched at that user's terminal, when (for example), they press <Enter>.

Does this sound right icon_question.gif

Regards,

Bill
Back to top
View user's profile Send private message
Harvey Sullivan

New User


Joined: 05 Nov 2007
Posts: 19
Location: Monterey CA

PostPosted: Thu Mar 13, 2008 6:25 pm
Reply with quote

Maybe I need to do a receive with"into" to get the transid and the value. It seems after the fact because the real read was already done by CICS. Thanks I will try this. I am not sure I understand the part about ISPY. Also, I thought of a possible jury rigged way to do it by doing a first time return with transid and COMMAREA back to itself. Harvey
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Mar 13, 2008 7:53 pm
Reply with quote

Quote:

because the real read was already done by CICS


would you care to elaborate on that?

yes, i am being a little sarcastic, since I don't think you know what you are talking about.
Back to top
View user's profile Send private message
Harvey Sullivan

New User


Joined: 05 Nov 2007
Posts: 19
Location: Monterey CA

PostPosted: Thu Mar 13, 2008 8:27 pm
Reply with quote

"because the real read was already done by CICS" I meant that the system read your transid and then passed control to your program. Sorry I did not explain myself very well. And yes, I do not know what I am talking about that is why I asked the question. I thought this forum was a place where you could get some help. I guess I was wrong.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Mar 13, 2008 8:37 pm
Reply with quote

Sounds like your background is in Macro/CICS which differs much from Pseudo-Conversational CICS.

Macro/CICS transactions (as you know) were conversational, which might be the cause for these discrepancies.

Can you provide us with a more comprehensive step-by-step and perhaps we can arrive at a better resolution?

HTH....

Regards,

Bill
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Mar 13, 2008 8:55 pm
Reply with quote

lots of traffic uh...

once upon a time at transaction initiation the programmer would
Code:
1234567890123456
         .....
         .....    register equates
         .....    USING constructs
         .....
         COPY  DFHTCADS
         COPY  TWAUSER
         COPY  DFHTCTTE
         COPY  DFHTIOA
         ....
         ....   program initalization
         L     TCTTEAR,TCAFCAAA
         L     TIOABAR,TCTTEDA

and TIOADBA would map the beginning data received by the terminal read
with command level the code is ...
Code:
   EXEC CICS RECEIVE ...

that' s not a true read because terminal read has already been done
it is the new ( command level ) way of doing things to access the terminal buffer
its a way to access the terminal i/o area buffer in order to issue the
Code:
EXEC CICS MAP ...

with the proper map
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFHP4C00/CCONTENTS?SHELF=DFHASJ00&DN=SC34-6819-00&DT=20070612172134
Back to top
View user's profile Send private message
Harvey Sullivan

New User


Joined: 05 Nov 2007
Posts: 19
Location: Monterey CA

PostPosted: Thu Mar 13, 2008 10:07 pm
Reply with quote

Enrico, thanks sooooo much!! I tried this and it worked fine. This is the response and area in the manual I was looking for. You have restored my faith in this board! BTW, the macro code that you showed is very similar to what was in the program (except in PLI) and commented out.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Mar 13, 2008 10:17 pm
Reply with quote

Enrico,

I haven't been able to find CICS/Macro manuals since the early 90's.

You wouldn't happen to have any copies available as an attachment or maybe, some idea as to where I could get them?

I'd be most appreciative.

Regards,

Bill
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Mar 13, 2008 11:05 pm
Reply with quote

Hi Bill,

not easy (means impossible) to find,
if You are interested in old IT docs ( hardware and software ) here are two links
www.softlib.org
www.bitsavers.org

Once upon a time there were lots of cics info on
Bob Yelavich web site www.yelavich.com
but when he retired he decided ( sadly ) to throw away everything,
but unless somebody is able to get in touch with him to find out
if he has somewhere old documents and he is willing to share
the IT archaelogists will be out of luck,
and the tone of his web pages hints that he will not be available to cooperate
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 Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts force tablespace using LISTDEF input DB2 1
No new posts Two input files & writing counter... DFSORT/ICETOOL 12
No new posts How to identify the transaction categ... IMS DB/DC 3
No new posts Use input file with OMIT rcd keys? DFSORT/ICETOOL 15
Search our Forums:

Back to Top