Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to declare a variable using SET Verb

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: How to declare a variable using SET Verb
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: 3158
Location: Tucson AZ

PostPosted: Sat Mar 03, 2007 5:21 pm    Post subject:
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    Post subject:
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    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 Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Move from Comp3 variable to Edited Va... sreekusr COBOL Programming 8 Thu Aug 10, 2017 4:20 pm
No new posts Can I traverse a STEM variable? chong.zhou CLIST & REXX 5 Wed May 31, 2017 3:54 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us