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 

SET

 
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: Wed Feb 11, 2004 2:41 am    Post subject: SET Reply with quote

Hi Friends,
1) Is there any difference between

SET PTR-A TO ADDRESS OF PRINT-LINE-A
SET ADDRESS OF PRINT-LINE-A TO PTR-A

Where PTR-A is the pointer and PRINT-LINE is a linkage section item

2) What do u mean by this and whose address is stored where??
SET ADDRESS OF FILE-IO-AREA-A TO
ADDRESS OF ONE-K-BLOCK
(MOD-LENGTH:1).

Please let me know..thanx in advance..

Regards,
Lal
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Wed Feb 11, 2004 6:22 am    Post subject: Reply with quote

Lal,

Please post in approriate forum, as this topic related to programming it should be posted in "Application Programming" forum.

1. No difference. Check this link for explanation of SET statement

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3LR10/6.2.33.5?SHELF=&DT=20020920180651&CASE=

2.FILE-IO-AREA-A is the Receiving field.It must be level-01 or level-77 items defined in the linkage section. The addresses of these item are set to the value of the operand specified in the TO phrase which is ONE-K-BLOCK

ONE-K-BLOCK is the Sending field. It must name an item of any level except 66 or 88 in the linkage section, the working-storage section, or the local-storage section.

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