IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

JCL Interview Questions


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
lakshmibala

New User


Joined: 16 Jun 2004
Posts: 47

PostPosted: Mon Aug 16, 2004 2:51 pm
Reply with quote

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
View user's profile Send private message
RamKumar

New User


Joined: 11 Aug 2004
Posts: 3

PostPosted: Mon Aug 16, 2004 4:18 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Mon Aug 16, 2004 6:36 pm
Reply with quote

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
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Wed Aug 18, 2004 9:43 am
Reply with quote

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
View user's profile Send private message
jz1b0c

Active User


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

PostPosted: Tue Nov 16, 2004 11:18 pm
Reply with quote

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
View user's profile Send private message
gowtham_srgp

New User


Joined: 09 Jun 2005
Posts: 38

PostPosted: Wed Aug 17, 2005 10:47 am
Reply with quote

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
View user's profile Send private message
vijayamadhuri

Active User


Joined: 06 Apr 2005
Posts: 180

PostPosted: Wed Aug 17, 2005 11:13 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Comp interview questions Mainframe Interview Questions 5
No new posts Interview Questions on Cobol DB2 program Mainframe Interview Questions 5
No new posts The Last Two Question For You To Ask ... Mainframe Interview Questions 0
No new posts Mainframe Interview Questions CICS,CO... Mainframe Interview Questions 6
No new posts Viewing executing process in NDM .. q... IBM Tools 0
Search our Forums:

Back to Top