View previous topic :: View next topic |
Author |
Message |
lal Beginner
Joined: 21 Oct 2003 Posts: 70 Topics: 25
|
Posted: Wed Feb 11, 2004 2:41 am Post subject: SET |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Wed Feb 11, 2004 6:22 am Post subject: |
|
|
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 |
|
|
|
|