Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

GDG - Mainframe installation dependent

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Divya.S

New User


Joined: 12 Mar 2009
Posts: 4
Location: Chennai

PostPosted: Tue Dec 01, 2009 2:40 pm    Post subject: GDG - Mainframe installation dependent
Reply with quote

Hi all,

Usually in the same job,we refer the GDG version created(+1) in one step by the same version (+1) in the next steps.

But in the mainframe installation currently I'm working with, seems to be different.
For example, I create one GDG version AAA.TEST(+1) in the STEP1 and if I want to refer the GDG created in STEP1in the STEP3, I need to refer as AAA.TEST(0).

Anyone please tell me, How this GDG version reference differs based on mainframe installation.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Dec 01, 2009 3:16 pm    Post subject:
Reply with quote

/RANT ON
When talking about GDS it is important to use the correct terminology, as both version and generation are both valid in terms of a GDS.

It is a well known fact that only one version of a GDS may exist at any one time, however, multiple generations may exist together.

Please learn and use the correct terminology when posting, as using the wrong terms can cause confusion and possibly delay a resolution to your problem
/RANT OFF

We do not know anything about your environment, either the current one or any previous one becuase you have not told us. You do not post code and / or sysout to support your query. How can you expect a definitive answer when you tell us less than nothing.

Also, why do you think that this is a problem related to COBOL ?
Back to top
View user's profile Send private message
Divya.S

New User


Joined: 12 Mar 2009
Posts: 4
Location: Chennai

PostPosted: Tue Dec 01, 2009 3:33 pm    Post subject:
Reply with quote

Sorry i have incorrectly posted in the section 'Mainframe COBOL'.. instead of posting in "other mainframe queries"...

Actually am talking about generations....

In my job,Step 1 creates the GDG file AAA.TEST(+1).
In the second step2,if I use AAA.TEST(+1) to refer the (+1)generation created in STEP1 as follows,
AAA.TEST(+1),DISP=SHR

it ends up with the error saying STEP2 SORTIN - DISP FIELD INCOMPATIBLE WITH DSNAME ...

now is it clear??could you please clarify this?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Dec 01, 2009 4:15 pm    Post subject:
Reply with quote

No, it is NOT clear.

I have asked that you post your code and the output, but you have chosen not to. If you want help from the forum then you must learn to do as requested. We do not ask for things to be posted for a laugh, just to give you something extra to do, we ask for these things because they contain a lot of the information that is required to help analyse the problem,

How are we supposed to know which operating system you are using. Do you use JES2 or JES3, DFSORT, SYNCSORT or CA-SORT. This could be O/S related or it could just be bad coding practices. Unfortunately today is not psychic day, so we do need this information.

Please CLICK HERE and read the document to find out the right way to ask your questions.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Tue Dec 01, 2009 11:19 pm    Post subject:
Reply with quote

Hello,

Quote:
I need to refer as AAA.TEST(0).
No, you don't. . . Why do you believe you do?

More than 1/2 a day later and the problem jcl/control statements still not posted. . .
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Tue Dec 01, 2009 11:24 pm    Post subject:
Reply with quote

"it ends up with the error saying STEP2 SORTIN - DISP FIELD INCOMPATIBLE WITH DSNAME ... "

When do you get this message and what is the message id?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8120
Location: East Dubuque, Illinois, USA

PostPosted: Tue Dec 01, 2009 11:27 pm    Post subject:
Reply with quote

Quote:
How this GDG version reference differs based on mainframe installation.
It doesn't -- GDG generation processing is fixed for all z/OS systems as it is part of the operating system. If you think your site is different, then you need to contact your site support group to clarify this. However, you're going to find that you have a misunderstanding because GDG processing does not vary by site.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Tue Dec 01, 2009 11:33 pm    Post subject:
Reply with quote

Robert, Crag, Dick, Expat,

I think the TS miss-interpreted the error message -
which referenced the DISP Parameter
as a problem with his gdg generation indicator.

probably the reason he has not returned is that someone at his shop
beat him around the head-and-shoulders
(a job for which we were all eagerly standing in line...)
until he saw his problem.

probably, someone else corrected his problem and he still does not understand.....
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Dec 02, 2009 12:52 pm    Post subject:
Reply with quote

I'd take a psychic day at .....
Code:
//SORTIN   DD DSN=GDG Base(+1),DISP=(,CATLG,DELETE)
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Wed Dec 02, 2009 10:42 pm    Post subject: Reply to: GDG - Mainframe installation dependent
Reply with quote

Psychic day or psychotic day. . .? icon_smile.gif

SORTIN & +1 & (,catlg,delete) scares me. . . icon_confused.gif

d
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Thu Dec 03, 2009 6:24 am    Post subject:
Reply with quote

Quote:
...someone at his shop
beat him around the head-and-shoulders
(a job for which we were all eagerly standing in line...)
Reminds me of that scene in "Airplane". icon_lol.gif
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Mainframe Opening in Chennai ( 2 to 4... muralikrishnan_new Mainframe Jobs 0 Tue Jul 18, 2017 2:20 pm
No new posts Identify top 30 big tables or indexes... ashek15 DB2 0 Fri Jun 16, 2017 10:01 am
No new posts SNMP trap from Mainframe bipinpeter Compuware & Other Tools 6 Wed Apr 26, 2017 3:05 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Opening in Allianz India- T... Rajesh Gopinathan Mainframe Jobs 0 Wed Apr 19, 2017 11:33 am
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 7 Thu Mar 23, 2017 5:12 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us