MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ADDRESS OF

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
lal
Beginner


Joined: 21 Oct 2003
Posts: 70
Topics: 25

PostPosted: Thu Dec 18, 2003 8:23 am    Post subject: ADDRESS OF Reply with quote

Hi Friends,
Could somebody let me know what does it mean?
SET ADDRESS OF MULTIX-FILE-A TO
ADDRESS OF MULAC-POLICY-CONTROL-A
(REF-LENGTH:1).
Thanx in advance..
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Thu Dec 18, 2003 9:37 am    Post subject: Reply with quote

Lal,

ADDRESS OF is a special register (provided as an IBM extension) with the implicit definition of PIC 9(9) COMP and it contains the address of records in the LINKAGE SECTION.
One ADDRESS OF special register is provided for each record in the LINKAGE SECTION.

ex:
Code:
                                                                     
     LINKAGE SECTION.                                                   
     01  EMPLOYEE-MASTER-REC    PIC X(80).                               
     01  PAYROLL-MASTER-REC     PIC X(200).                             


ADDRESS OF EMPLOYEE-MASTER-REC would refer to the address of the first item in the LINKAGE SECTION

ADDRESS OF PAYROLL-MASTER-REC would refer to the address of the second item in the LINKAGE SECTION



In CICS ADDRESS is used to Obtain access to CICS storage areas.

Code:
                                                                   
ADDRESS  ACEE(ptr-ref) COMMAREA(ptr-ref) CWA(ptr-ref) EIB(ptr-ref)           
TCTUA(ptr-ref) TWA(ptr-ref)                                           


ADDRESS accesses the following areas:

  • The access control environment element (ACEE)
  • The communication area available to the invoked program (COMMAREA)
  • The common work area (CWA)
  • The EXEC interface block (EIB)
  • The terminal control table user area (TCTUA)
  • The transaction work area (TWA)


In OS/VS COBOL only, if an ADDRESS command is included in a COBOL program that is to be compiled using the optimization feature, it must be followed by SERVICE RELOAD statements to reload the BLL cell being used.

Hope this helps...

cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Fri Dec 19, 2003 12:24 am    Post subject: Reply with quote

And here's a nice example Smile
Back to top
View user's profile Send private message Send e-mail
Jamylady
Beginner


Joined: 04 Nov 2004
Posts: 68
Topics: 22

PostPosted: Tue Oct 31, 2006 1:19 pm    Post subject: Reply with quote

Hi, Could anyone please explain what is the use of TCTUA?
Thanks
JA
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Tue Oct 31, 2006 2:54 pm    Post subject: Reply with quote

TCTUA is Terminal Control Table User Area which is an area used to pass information between application programs, but only if the same terminal is associated with the application programs involved.

Check this link for more informations on TCTUA

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFHA4P00/5.2.1.2?SHELF=&DT=20011207135635&CASE=

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFHP3A04/3.4.3?DT=20050112153951

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group