Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

JCL Interview Questions

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: JCL Interview Questions
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    Post subject: Re: Jcl Doubs
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

Moderator Team Head


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

PostPosted: Mon Aug 16, 2004 6:36 pm    Post subject: Re: Jcl Doubs
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    Post subject:
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    Post subject: Re: Jcl Doubs
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    Post subject: Re: JCL Interview Questions
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    Post subject: Re: JCL Interview Questions
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm
No new posts INCLUDE condition questions van bui DFSORT/ICETOOL 1 Thu Jun 30, 2016 9:52 am
No new posts SAS Programming - Basic Questions Techelm All Other Mainframe Topics 3 Fri Mar 18, 2016 10:53 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us