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
 

 

Usage of '=Y([any labels])' operand

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
sjothiprakash

New User


Joined: 21 Jul 2007
Posts: 12
Location: Chennai

PostPosted: Thu Jul 26, 2007 5:56 pm    Post subject: Usage of '=Y([any labels])' operand
Reply with quote

Hi,

Can any one tell me about the purpose of '=Y([any labels])' operand,

e.g : LA R15,=Y(LT101)

What it does?..........
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Jul 26, 2007 6:14 pm    Post subject:
Reply with quote

Address Constants
Generally a two byte address constant.
Back to top
View user's profile Send private message
sjothiprakash

New User


Joined: 21 Jul 2007
Posts: 12
Location: Chennai

PostPosted: Thu Jul 26, 2007 8:35 pm    Post subject:
Reply with quote

Thank U very much.......Guy icon_lol.gif
Back to top
View user's profile Send private message
bengtpelle

New User


Joined: 28 Aug 2006
Posts: 24
Location: St. Petersburg, FL

PostPosted: Sat Aug 04, 2007 11:00 pm    Post subject:
Reply with quote

The Y(x) is not a two byte address constant.

The Y(x) is the same as A(x) except the address is external to current module. It is resolved by the Linkage Editor.
Back to top
View user's profile Send private message
ironmike

New User


Joined: 07 Aug 2005
Posts: 33

PostPosted: Mon Aug 06, 2007 10:58 pm    Post subject:
Reply with quote

Y(label) IS a two-byte address constant, as CICS GUY stated. Y-cons, as they are known, do generate a two-byte address value. The address resolves to an area within the module in which the Y-con is coded. It's wrong to imply that the address is external to the module, since two bytes is not enough to resolve such an address. Y-cons and A-cons are NOT for external references; V-cons are.
Back to top
View user's profile Send private message
bengtpelle

New User


Joined: 28 Aug 2006
Posts: 24
Location: St. Petersburg, FL

PostPosted: Mon Aug 06, 2007 11:36 pm    Post subject:
Reply with quote

Sorry about that.
I agree, I mixed up the Y and the V constant.
I also was thinking of the 2 byte relocatable S constant.
Back to top
View user's profile Send private message
ganasrinivasan

New User


Joined: 06 Nov 2006
Posts: 23
Location: Montreal

PostPosted: Fri Aug 10, 2007 6:40 am    Post subject: Interesting Fact about V-Cons
Reply with quote

Hi all,
Since we are discussing about Y cons. i just want to raise a thought.
Can anyone analysed the contents of the v-con address??!!
I think you may to be clear with my question. Let me put like this.

L r4,=v(t0493)

Assume t0493 is the CSECT Name (another program)

Can anyone know, what will be contents of the Register 4.
If the answer is the address of the load module 'to493' (in this case), then try again..Try to read the contents (Keep OPCODE sheet near by)...
If U feel it is not interesting leave it..
Back to top
View user's profile Send private message
manikawnth

New User


Joined: 07 Feb 2007
Posts: 61
Location: Mumbai

PostPosted: Tue Sep 04, 2007 1:55 pm    Post subject:
Reply with quote

Hi srinivas,

I think LA will do the transfer of address contents.
L instr will refer to that address.
If the second operand is an address constant, the register will have the address only (of the csect).

I verified by forcing a s0c1
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 -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts )SEL and )ENDSEL usage cvnlynn TSO/ISPF 4 Thu Jun 15, 2017 1:15 am
No new posts Need inputs on Space requirement and... ashek15 IMS DB/DC 0 Sat Apr 01, 2017 8:26 am
No new posts How can amount of the Storage Usage b... esduman61 CICS 6 Wed Mar 09, 2016 1:19 pm
No new posts Controlling usage of resources by tasks raja1128 CICS 3 Fri Nov 06, 2015 9:53 am
No new posts TDQ & its usage as ATI akodakka CICS 3 Sat Oct 17, 2015 6:04 pm


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