How do you find which GDG is using which dataset?
Answers were Sorted based on User's Feedback
Answer / karthik .k
GDG datasetname(-1)-previous version
(0)-current version
(+1)-next version
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / balu
gdg data set(0) we can know which data set gdg is using
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / stu
The question is confusing. A GDG (Generation Data Group)
consists of a base (no data, but defines the name, how many
generations of data files will be kept, etc.), and the
generations of data files.
The data files will all have the same file name except for
the last name node. Here are 3 generations of a GDG with
their actual file names.
xxx.xxxxx.xxxx.G000V01 alias=xxx.xxxxx.xxxx(-2)
xxx.xxxxx.xxxx.G000V02 alias=xxx.xxxxx.xxxx(-1)
xxx.xxxxx.xxxx.G000V03 alias=xxx.xxxxx.xxxx(0)
If another generation is created, G000V00, it becomes (0),
G000V03 becomes (-1), and so forth.
If the jcl cites xxx.xxxxx.xxxx by itself, it concatenates
all the existing generations in earliest to latest order.
| Is This Answer Correct ? | 0 Yes | 1 No |
what if any ,is the syntax error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.
what is A-MODE and R-MODE?
What u mean by include statement in JCL ?
What is RESTART? How is it invoked?
Is Default for MSGCLASS = (1,1) ?
What type of versions we r using in mainframe (jcl, cobol, db2, vsam, cics)?
How to pass the temp dataset form one JOB step to another?
What is the purpose of dd?
What is the purpose and meaning of the REGION keyword and what JCL statement is it associated with?
consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayed after the PERFORM is over? assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above
Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:
what is use of dcb parameter in dd statement?