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

Choose the best type interview questions


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

New User


Joined: 15 Jun 2005
Posts: 16

PostPosted: Mon Mar 12, 2007 5:45 pm
Reply with quote

Product # - MF JCL

What is the default disposition for a dataset? A
A. New, Keep, Keep
B. New, Delete, Catalog
C. New, Catalog, Catalog
D. New, Delete, Delete

What is the maximum length of a dataset name, which could be specified in a DSN parameter? A
A. 44 Characters with period
B. 44 characters without period
C. 24 Characters with period
D. 24 Characters without period

What is the data exception error? B
A. SOC4
B. SOC7
C. SOC1
D. None of the above

//JOBA JOB (ACC71), 'ACCENTURE' COND=(4, GT) //STEP1 EXEC PGM=PROGRAM1 //STEP2 EXEC PGM=PROGRAM2

In the JCL above if the return code of step 1 is 0? D
A. Step 2 Executes
B. Step 2 will not Execute
C. Job does not execute
D. Both step 1 and Step 2 will execute

In the list below which are the valid symbolic Parameter? C
a) &1ACCENT
b) &A#CCENT
c) &##ACCENT
d) &ACCENT

A. abc
B. bcd
C. abd
D. acd

Where do you code EXPDT parameter in a JCL statement? C
A. JOB
B. STEP
C. DD Statement
D. None of the above

Product # -CICS

Which are the correct ways of Defining cursor Position? D
A. IC
B. Move -1 to the length attribute of the field and use the CURSOR option.
C. Use CURSOR (n m)
D. All of the above

Commands used for CICS file browsing are ? D
A. READ NEXT
B. READPREV
C. STARTBR
D. All of the above

What is ASRA Abend? ABCD
A. A link was issued to a program whose name does not exist in the PPT (Program Processing Table).
B. A program attempted to use a map that is not defined in the PCT (Program Control Table).
C. A security violation has occurred. The operator is not defined with the proper authority in the SNT (Sign-on Table) to use a particular file.
D. A program interrupt (0C0 or 0C1 or 0C2 or ...) has occurred in a CICS program.

Which is CICS-supplied Command Interpreter transaction? C
A. CEDF
B. CEBR
C. CECI
D. None of the above
Back to top
View user's profile Send private message
muthuvel

Active User


Joined: 29 Nov 2005
Posts: 217
Location: Canada

PostPosted: Mon Mar 12, 2007 7:07 pm
Reply with quote

Quote:
What is the default disposition for a dataset? A
A. New, Keep, Keep
B. New, Delete, Catalog
C. New, Catalog, Catalog
D. New, Delete, Delete


The answer is D



Quote:
What is the maximum length of a dataset name, which could be specified in a DSN parameter? A
A. 44 Characters with period
B. 44 characters without period
C. 24 Characters with period
D. 24 Characters without period


The answer is B

Quote:
In the JCL above if the return code of step 1 is 0? D
A. Step 2 Executes
B. Step 2 will not Execute
C. Job does not execute
D. Both step 1 and Step 2 will execute


The answer is A..Answer D is partially right but step 1 being already executed and the question is if step 1 reurns a code of 0 what will happen,So I think it has to be A

Corrections are Welcomed...
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Mar 12, 2007 7:24 pm
Reply with quote

I believe it's 44 characters including the periods. Please refer to the fine manual.

O.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Mon Mar 12, 2007 7:30 pm
Reply with quote

Quote:
What is ASRA Abend? ABCD
A. A link was issued to a program whose name does not exist in the PPT (Program Processing Table).
B. A program attempted to use a map that is not defined in the PCT (Program Control Table).
C. A security violation has occurred. The operator is not defined with the proper authority in the SNT (Sign-on Table) to use a particular file.
D. A program interrupt (0C0 or 0C1 or 0C2 or ...) has occurred in a CICS program.
The answer is D
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Tue Mar 13, 2007 4:42 am
Reply with quote

Quote:
//JOBA JOB (ACC71), 'ACCENTURE' COND=(4, GT) //STEP1 EXEC PGM=PROGRAM1 //STEP2 EXEC PGM=PROGRAM2

The COND clause in the JOB stmt is read as follows:

"If 4 is GT the RC of any executed step, all remaining steps are by-passed."

Step1 termed w/an RC of zero. 4 is GT zero, therefore the remaining steps are by-passed -(in this case, step2).
Back to top
View user's profile Send private message
muthuvel

Active User


Joined: 29 Nov 2005
Posts: 217
Location: Canada

PostPosted: Tue Mar 13, 2007 8:30 pm
Reply with quote

Thanks to Ofer and mmwife for the corrections!!!
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 SMF record type 30 JCL & VSAM 8
No new posts Selective extract of multi-record-typ... SYNCSORT 4
No new posts Changing Data Type SYNCSORT 4
No new posts REXX for Reading SMF type 70-1 Testing & Performance 6
No new posts Migrating AS400 to HIVE; Data type ma... All Other Mainframe Topics 1
Search our Forums:

Back to Top