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

How to declare a variable using SET Verb


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vishal kumar gupta
Warnings : 1

New User


Joined: 18 Feb 2007
Posts: 11
Location: bhubaneswar

PostPosted: Sat Mar 03, 2007 3:07 pm
Reply with quote

SEE THE BELOW SNIPPET AND PLZ TELL HOW TO DECLARE THE VARIABLE VAR IN THE CODE?


EXEC CICS
LOAD PROGRAM('PROG')
SET(ADDRESS OF VAR)
END-EXEC
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Sat Mar 03, 2007 5:21 pm
Reply with quote

CICS:
SET(ptr-ref) specifies the pointer reference that is to be set to the address at which a program, table, or map is loaded.
And:
?ptr-ref? can be replaced by a pointer variable or ADDRESS special register.
COBOL:
A data item defined with USAGE IS POINTER is a pointer data item. A pointer data item is a 4-byte elementary item.
Any questions?
Back to top
View user's profile Send private message
vishal kumar gupta
Warnings : 1

New User


Joined: 18 Feb 2007
Posts: 11
Location: bhubaneswar

PostPosted: Sat Mar 03, 2007 6:38 pm
Reply with quote

THANKS GOT U
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 Variable Output file name DFSORT/ICETOOL 8
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
No new posts parsing variable length/position data... DFSORT/ICETOOL 5
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
Search our Forums:

Back to Top