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

IGYDS1318-E - "GLOBAL" clause on this definition w


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

New User


Joined: 19 May 2010
Posts: 4
Location: jakarta

PostPosted: Thu May 20, 2010 12:22 pm
Reply with quote

In my Cobol compilation of a CICS program, I found the following messages :

001065 01 dfhldver pic x(22) value 'ld table dfheitab 650.'
001066 is global.
==001066==> IGYDS1318-E Data-name "DFHLDVER" was previously defined in this "DATA DIVISION" with the "GLOBAL" clause. The "GLOBAL" clause on this definition was discarded.

I did not intentionally include any copybook that contained variable dfhldver and never defined it in the program. How could I get rid of this variable?

Many thanks in advance.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu May 20, 2010 7:37 pm
Reply with quote

Hello and welcome to the forum,

Suggest you look back thru the outputs from this job and learn where this was first in the code. . .
Back to top
View user's profile Send private message
yoyok

New User


Joined: 19 May 2010
Posts: 4
Location: jakarta

PostPosted: Wed Jan 05, 2011 11:50 am
Reply with quote

Thank you for the response.
In the compile listing, I found the following messages.

01 dfhldver pic x(22) value 'ld table dfheitab 650.' is global.

IGYDS1318-E Data-name "DFHLDVER" was previously defined in this "DATA DIVISION" with the "GLOBAL" clause. The "GLOBAL" clause on this definition was discarded.

As a matter of fact, I never put such definition or copybook containing that definition in the source code. I don't know where this definition comes from. Any clue?
Back to top
View user's profile Send private message
yoyok

New User


Joined: 19 May 2010
Posts: 4
Location: jakarta

PostPosted: Wed Jan 05, 2011 11:57 am
Reply with quote

The position of that definition (that I never intentionally put) is just before the LINKAGE SECTION.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jan 05, 2011 9:26 pm
Reply with quote

Hello,

This sounds like "something" is going astray in the pre-processor - probably because of something in the code.

Suggest you review the entire code and speak with your cics/compiler support.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Jan 05, 2011 9:33 pm
Reply with quote

"GLOBAL" definitions are used in Nested Programming, introduced with VS/COBOL II, Version/Release 3.

Bill
Back to top
View user's profile Send private message
yoyok

New User


Joined: 19 May 2010
Posts: 4
Location: jakarta

PostPosted: Wed Oct 26, 2011 3:01 pm
Reply with quote

Thank you Dick & Bill for the clues. I removed the paramater COBOL2 from step CICS translator PGM=DFHECP1$, and the message is gone now.

yoyok
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Oct 26, 2011 9:56 pm
Reply with quote

Good to hear it is working - thank you for the followup icon_smile.gif

d
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 PuTTY - "User is not a surrogate... IBM Tools 5
No new posts Newbie Stuck on "Duplicate Datas... TSO/ISPF 5
No new posts To search DB2 table based on Conditio... DB2 1
No new posts RABBIT HOLE NEEDED - "Live"... All Other Mainframe Topics 0
No new posts Using PARM=('JPn"&SYMBOL&quo... DFSORT/ICETOOL 2
Search our Forums:

Back to Top