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

Solve the error message IGYPS2161-S


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
joshkahn

New User


Joined: 30 Dec 2005
Posts: 8

PostPosted: Fri May 05, 2006 2:48 am
Reply with quote

I have been trying to find error message IGYPS2161-S but I cannot find out what caused the message. Can anyone help?

It concerns a "set address of" instruction.
Back to top
View user's profile Send private message
DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Fri May 05, 2006 3:00 am
Reply with quote

joshkahn,

Please post the entire error message verbiage along with the applicable code.

If the code is not to large, post the entire code.

What compiler version are you using?

Dave,
Back to top
View user's profile Send private message
GeneNorman

New User


Joined: 26 May 2006
Posts: 8
Location: Madison, Wisconsin USA

PostPosted: Fri May 26, 2006 3:48 am
Reply with quote

You are posted in the wrong forum because this message is not issued in Enterprise COBOL. Note the MVS&VM on this message reference
-and-
Get Quickref at your shop! or learn how to use it (QW)

Code:
Item ==>                     * MVS/QuickRef 6.2 *           Col 1 Line 1 of 23
Command ==>                                                    Scroll ==> PAGE
You may scroll the information below UP, DOWN, LEFT, and/or RIGHT as needed   
--------------- V=IBM P=COBOL MVS&VM CMPL MG R=V1R2 I=IGY2161 ----------------
********************* Text Below Copyright (c) 2006, IBM *********************
  Message Format: IGYPP2161-S  THE "ADDRESS OF" OPERAND "XXXX" WAS  FOUND     
                               AS  THE  RECEIVING  OPERAND  OF  A   "SET"     
                               STATEMENT,  BUT  WAS  NOT  A  LEVEL-01  OR     
                               LEVEL-77  "LINKAGE  SECTION"   ITEM.   THE     
                               STATEMENT WAS DISCARDED.                       
                                                                               
  Description: The  ADDRESS  OF special register provides the address  of     
               certain types of items (i.e., level-01 and level-77 items)     
               defined   within   the  LINKAGE  SECTION.   It  cannot  be     
               specified  with  items  defined  in other than the LINKAGE     
               SECTION and cannot be specified with items  defined  as  a     
               condition-name  (i.e.,  level-88  items) or with a RENAMES     
               clause (i.e., level-66 items).                                 
                                                                               
               In this case,  the indicated item is used in the indicated     
               statement  as  the  operand  of  an  ADDRESS  OF   special     
               register.  However,  the  indicated  item  is  not defined     
               within the LINKAGE SECTION or not defined as a level-01 or     
               level-77 item.  The indicated statement was ignored.           
                                                                               
  User Action: Respecify the indicated operand of the  indicated  ADDRESS     
               OF special register so  that  it  is  defined  within  the     
               LINKAGE  SECTION  as a level-01 or level-77 item.               
****************************** BOTTOM OF DATA ********************************
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
This topic is locked: you cannot edit posts or make replies. how can I proof that message was post... Java & MQSeries 1
No new posts IMS Message : DFS3577A IMS DB/DC 4
Search our Forums:

Back to Top