IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

JCL Interview Questions

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> Interview Questions
View previous topic :: View next topic  
Author Message
lakshmibala



Joined: 16 Jun 2004
Posts: 47

Posted: Mon Aug 16, 2004 2:51 pm    Post subject: JCL Interview Questions  

hi all,

these are some interview questions asked in CTS.

1. what is the option used in file-aid to make a VSAM dataset available to all ?

2. can we create a tape drive data set and can we delete it if once created?

3. what is the default block size and logical record length?

4. what happens when we give a stop run in a sub-program ?
Back to top  
RamKumar



Joined: 11 Aug 2004
Posts: 3

Posted: Mon Aug 16, 2004 4:18 pm    Post subject: Re: Jcl Doubs  

Hi
Answer for 4th questions
Total Run unit will stop ( i.e total excution will stop)

lakshmibala wrote: hi all,

these are some interview questions asked in CTS.

1. what is the option used in file-aid to make a VSAM dataset available to all ?

2. can we create a tape drive data set and can we delete it if once created?

3. what is the default block size and logical record length?

4. what happens when we give a stop run in a sub-program ?
Back to top  
superk



Joined: 26 Apr 2004
Posts: 3304
Location: Charlotte,NC USA

Posted: Mon Aug 16, 2004 6:36 pm    Post subject: Re: Jcl Doubs  

Quote: 2. can we create a tape drive data set and can we delete it if once created?
Yes and Yes.
Quote: 3. what is the default block size and logical record length?
Of What?
Back to top  
mmwife



Joined: 30 May 2003
Posts: 1506

Posted: Wed Aug 18, 2004 9:43 am    Post subject:  

Quote: 2. can we create a tape drive data set and can we delete it if once created?

A tape ds differs from a dasd ds in this respect:

A dasd ds, when deleted, is uncataloged (if it were cataloged in the first place) and it "disappears" (well almost). None of the usual system services can access it.

When a tape ds is "deleted" it is uncataloged but the label that identifies it and its application data is still available. If you can finf the physical tape after the "deletion" you can still access the data. If your shop uses a Tape Mgmt System the tape may (can't say for sure - don't recall) be assigned to the scratch pool where it can be reused.
Quote: 3. what is the default block size and logical record length?

As I recall, it's 80X80.

Regards, Jack.
Back to top  
jz1b0c



Joined: 25 Jan 2004
Posts: 180
Location: Toronto, Canada

Posted: Tue Nov 16, 2004 11:18 pm    Post subject: Re: Jcl Doubs  

lakshmibala wrote: hi all,

4. what happens when we give a stop run in a sub-program ?

bala,

If you give stop run in a sub program, control will not be returned to the calling program, but control will be returned to OS. So your program execution completes.
Back to top  
gowtham_srgp



Joined: 09 Jun 2005
Posts: 38

Posted: Wed Aug 17, 2005 10:47 am    Post subject: Re: JCL Interview Questions  

lakshmibala wrote: hi all,

these are some interview questions asked in CTS.

1. what is the option used in file-aid to make a VSAM dataset available to all ?

2. can we create a tape drive data set and can we delete it if once created?

3. what is the default block size and logical record length?

4. what happens when we give a stop run in a sub-program ?


hai.

3. default block size is 1 record per block for a cobol file. logical record length is 80.

4. stop run on a sub program returns the control to the os and it means the end of the run unit. i don't think we can run the program like this as it will be the main program which will be run and the main program will also expect the control to be returned back to it.


corrections welcomed..........

gowtham
Back to top  
vijayamadhuri



Joined: 06 Apr 2005
Posts: 187

Posted: Wed Aug 17, 2005 11:13 am    Post subject: Re: JCL Interview Questions  

Quote: hi all,


1. can we create a tape drive data set and can we delete it if once created?



Once we data is mountes on tape the only we way to retreive the data is to mount the tape and access the data.So in order to make any changes u should have the authority .
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> Interview Questions
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM