What is the disp of third step?

ramesh4mainframes
Posts: 32
Joined: Mon Jun 07, 2010 3:58 pm
Skillset: JCL COBOL VSAM DB2
Referer: MY Faculty
Location: Hyderabad

What is the disp of third step?

Postby ramesh4mainframes » Thu Aug 12, 2010 10:06 am

One interviewer asked the following

I have 3 steps (Temporary data sets) first is refer to second, second is refer to third. Then what is the disp of third step?
Thanks,
RamS

User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am

Re: What is the disp of third step?

Postby dick scherrer » Thu Aug 12, 2010 10:09 am

Hello,

Cannot be answered - there is no such thing as "step disposition".

You need to stop posting these type of questions and do some reading in the appropriate manuals. . .
Hope this helps,
d.sch.

ramesh4mainframes
Posts: 32
Joined: Mon Jun 07, 2010 3:58 pm
Skillset: JCL COBOL VSAM DB2
Referer: MY Faculty
Location: Hyderabad

Re: What is the disp of third step?

Postby ramesh4mainframes » Thu Aug 12, 2010 10:14 am

Hi Dick,

We too feel same. But in one interview questions we saw this type of questions. We all discussed together. Then for conclusion came to this forum.
Thanks,
RamS

steve-myers
Global moderator
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Skillset: Assembler, JCL, utilities
Referer: zos.efglobe.com

Re: What is the disp of third step?

Postby steve-myers » Thu Aug 12, 2010 7:21 pm

It's not very clear what the actual question is here. I suspect it is for JCL like this --

Code: Select all

//A       EXEC PGM=---
//ADS      DD  DISP=(NEW,PASS),UNIT=SYSDA,SPACE=(TRK,(1,1)),...
//B       EXEC PGM=---
//ADS      DD  DISP=(OLD,PASS),DSN=*.A.ADS
//C       EXEC PGM=---
//ADS      DD  DISP=OLD,DSN=*.A.ADS
The answer is the DISP in the third step is identical to the default DISP in the first step. In this case, since the first step specified DISP=NEW, its default is DISP=(NEW,DELETE), so the effective DISP in the third step is DISP=(OLD,DELETE). The same rule applies whether the data set is temporary, which is sort of implied by my JCL, or if a "permanent" data set name is specified in the DD statement in step A. You can find this in the JCL manual much more quickly than asking it here.

User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am

Re: What is the disp of third step?

Postby dick scherrer » Thu Aug 12, 2010 11:11 pm

Hello,

We too feel same. But in one interview questions we saw this type of questions. We all discussed together.
It sounds like "we" and the interviewer were having major communication problems. I'm not sure how an interview works out when the interviewer asks this kind of question. . .

I suspect there was more involved and as such, we can't do much other than guess at what might have been actually asked.

One of the worst interviewing experiences i've heard of is when the interviewer and the applicants were conducting an interview in English and neither the interviewer nor the applicants used English as their first language and they also did not share a common first language. . .
Hope this helps,
d.sch.


  • Similar Topics
    Replies
    Views
    Last post