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

Some COOL JCL Interview Questions


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

New User


Joined: 21 Mar 2004
Posts: 8
Location: Chennai

PostPosted: Sat Apr 03, 2004 2:57 pm
Reply with quote

Hi guys,

pls. try to get me the answers for the following questions:

1. What parameter is used to limit the no. of records to be written in sysout.

2. what is the use of KeyLen in dd statement?

3. What does INHIBIT in an Alter statement do on a dataset?

4. Base Cluster should be deleted before deleting an AIX. (True/False).

5. What will happen if we load an empty ksds to an AIX?

6. What does DD DUMMy do?

7. What is RACF?

8. RD=R, what does it mean?

9. How do u calculate RBA?

10. I have a dd coded as (NEW,CATLG,KEEP) in job-1 step-1. if the job-1 fails? how can i access the same dataset in job-2 step-2?.. is it really possible?
Back to top
View user's profile Send private message
bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Mon Apr 05, 2004 4:59 pm
Reply with quote

thoses questions are basic JCL questions.
you can find answers to this in Use [URL] BBCode for External Links
l
Back to top
View user's profile Send private message
mvs_butta

New User


Joined: 23 Dec 2003
Posts: 13

PostPosted: Tue Apr 06, 2004 8:03 am
Reply with quote

1. What parameter is used to limit the no. of records to be written in sysout.

Use the OUTLIM parameter to limit the number of logical records in the sysout data set

2. what is the use of KeyLen in dd statement?

KEYLEN parameter to specify the length of the keys used in a new data set.
3. What does INHIBIT in an Alter statement do on a dataset?

By using INHIBIT option with ALTER command , you can make VSAM data set as read-only.

6. What does DD DUMMy do?
For a dummy data set, the system bypasses all input/output operations, does not allocate devices or storage
to the data set, and does not perform disposition processing.
When an attempt is made to read , return as end-of-file
when an attemt to write , the request is recognized but no data is transmitted
Back to top
View user's profile Send private message
bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Tue Apr 06, 2004 12:05 pm
Reply with quote

hello,

RACF is Ressource Access Control Facilty basically it's security product from IBM

10 is access the DS using disp=SHR in your JCL deck (next run)
disp=new (created at start), catalog (DS catalogued at end of job), delete(DS DELETED if step abends)

5 is impossible (it fiails with a rc see older posts in VSAM JCL post)

hope it helped
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 237
Location: USA

PostPosted: Tue Apr 06, 2004 1:02 pm
Reply with quote

Hello PrasadV,

Check out the following link for more details

OS 390 MVS JCL Reference


1) OUTLIM Parameter ---> Page 32

2) KeyLen parameter ---> Page 229

3) What does INHIBIT in an Alter statement do on a dataset?
INHIBIT decides the type of access available to do certain types of operations
VSAM VSE Commands ---> Page 113

4. Base Cluster should be deleted before deleting an AIX. (True/False).
5. What will happen if we load an empty ksds to an AIX?
Check out this link for more details

6. What does DD DUMMy do?
---> Page 211

7. What is RACF?
Resource Access Control Facility

8. RD=R, Page ---> 370

10. I have a dd coded as (NEW,CATLG,KEEP) in job-1 step-1. if the job-1 fails? how can i access the same dataset in job-2 step-2?.. is it really possible?
In JOB-1 STEP-1 if the job fails...the dataset will not be CATLG so you wont be able to retrieve it unless you have the VOL=SER for the dataset.

Hope this helps,

Regards
Mayuresh Tendulkar
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Apr 10, 2004 12:43 am
Reply with quote

Hi,

Some info on Ques. #9.

To get the RBA of a record:

Fixed length - multiply the LRECL by the record# - 1. E.g., for record# 10 of an 80 byte record file:

(10 -1) * 80 = 720 = RBA

Variable length - total the byte count of all the records that came before the one you're interested in. E.g., If you want the RBA of the 10th record add the lengths of records 1 through 9. Note that these are not the variable rcords that contain 4 byte BDW/RDWs at the start of a block of data or a record. They only contain application data and they are not blocked.

HTH, Jack.
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