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
 

 

addressability to initial transaction input screen

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: addressability to initial transaction input screen
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    Post subject:
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    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Mar 13, 2008 5:06 am    Post subject: addressability to initial transaction
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    Post subject:
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: 6968
Location: porcelain throne

PostPosted: Thu Mar 13, 2008 7:53 pm    Post subject:
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    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Mar 13, 2008 8:37 pm    Post subject: addressability to initial transaction input screen
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Thu Mar 13, 2008 8:55 pm    Post subject: Reply to: addressability to initial transaction input screen
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    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Mar 13, 2008 10:17 pm    Post subject: addressability to initial transaction input screen
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Thu Mar 13, 2008 11:05 pm    Post subject: Reply to: addressability to initial transaction input screen
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    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 How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm
No new posts Need input in Scheduling Benchwarmer CA Products 5 Tue Jun 06, 2017 1:44 am
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm


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