View previous topic :: View next topic
|
Author |
Message |
ram prasad
New User
Joined: 28 May 2007 Posts: 17 Location: india
|
|
|
|
please give the sample code for GDG, it uses in realtime environment
ifelse give any URL |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Ram Prasad,
Did you go through manuals? Examples have been provided. Anyway, find the one you are looking for below -
Code: |
//SPLIT EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DEFINE GDG ( -
NAME('HLQ.SLQ.TLQ') -
LIMIT(N) -
NOSCRATCH -
EMPTY)
/* |
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Please clarify what this means
Quote: |
please give the sample code for GDG, it uses in realtime environment |
What is "realtime environment"?
Which sample code are you looking for? The example posted will define a gdg. You will need other jcl to catalog entries in the gdg. If you are running something "realtime", jcl may not be what you are looking for. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
dick scherrer wrote: |
What is "realtime environment"? |
That's a question that I've been asking for four years. No one's ever bothered to answer. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Quote: |
What is "realtime environment"? |
Hi,
There are some institutes in market who teach Mainframes on some type of simulated environment.
They use Excel as database, some weired way to SUBmit JCL & compile the COBOL program. I think the folks coming from these institutes distinguish the actual Mainframe environment & that simulated environment with the pharse "realtime environment". |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Anuj,
Quote: |
They use Excel as database, some weired way to SUBmit JCL & compile the COBOL program. I think the folks coming from these institutes distinguish the actual Mainframe environment & that simulated environment with the pharse "realtime environment". |
I am not sure about simulated environment. Does the functionality change between 'simulated' and 'real time' environment? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Murali,
What type of functionality you are talking about, didn't get you clearly. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Back in the "Olden Dayze" a "realtime environment" was an "on-line environment". |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Jack,
Quote: |
Back in the "Olden Dayze" a "realtime environment" was an "on-line environment". |
Thanks.
Anuj,
Quote: |
What type of functionality you are talking about, didn't get you clearly |
Assuming the step provided above is executed in the simulated environment, does it do other thing (other than creating a GDG base)? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Murali,
No, code will not generate any GDG base nor will do any other thing.
By definition , IDCAMS is Integrated Catalog Access Method Services. Which is an IBM program used to process access method services (AMS), that simulated environment has nothing to do with AMS, so this utility can't work there. Usually these environment are made to work on Microsoft Technologies & IDCAMS is an IBM product. To run IDCAMS on windows, I think we need some sort of third party tools(not sure), still in back-end IDCAMS has to run on Mainframes.
I worked on CAreala, this could understand only some COBOL syntax & JCL syntax with limitations. Limitations such as if I wrote PGM=PGM1, then I need to give a proper path for the .exe load module of PGM1; while if I gave PGM=IDCAMS then it didn't work because I did't had any .exe file for IDCAMS there in that environment.
Hope it helps. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Anuj,
Quote: |
code will not generate any GDG base nor will do any other thing. |
Ok. I got it now why Ram Prasad wanted sample GDG code used in 'Real Environment'.
Thanks for the info. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
murmohk1 wrote: |
Ok. I got it now why Ram Prasad wanted sample GDG code used in 'Real Environment'. |
Fair enough. |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi,
You can give
Code: |
LISTCAT ENTRIES (HLQ.SLQ.TLQ)-
NONVSAM VOLUMES |
After defining the GDG ...Then get it working on .. |
|
Back to top |
|
|
|