MainFrame Interview Questions
Questions Answers Views Company eMail

Name some of the JCL statements that are not allowed in procs.?

1 14723

What is primary allocation for a dataset?

4 13439

What is the difference between primary and secondary allocations for a dataset?

8 45912

How many extents are possible for a sequential file ? For a VSAM file ?

3 17314

What does a disposition of (NEW,CATLG,DELETE) mean?

3 18123

What does a disposition of (NEW,CATLG,KEEP) mean?

Cap Gemini,

1 12420

How do you access a file that had a disposition of KEEP?

3 17986

MOD, DELETE; What does a disposition of (,DELETE) mean ?

3 10975

What is the DD statement for a output file?

3 8960

What do you do if you do not want to keep all the space allocated to a dataset?

2 6169

What is DISP= (NEW,PASS,DELETE)?

HCL,

3 30785

How do you create a temporary dataset? Where will you use them?

IBM,

2 21534

How do you restart a PROC from a particular step?

5 41390

How do you skip a particular step in a proc/JOB?

CSC, CTS,

5 29192

A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code?

IBM, Wipro,

5 37673


Un-Answered Questions { MainFrame }

What are the retrieval sequences in ims db?

900


what are the differences between temporary storage queue (tsq) and transient data quene (tdq)?

797


State the differences between vsam and non-vsam files?

634


Define perform? And its types?

596


What is iseries database?

671






SET is the ANSI standard for variable assignment, SELECT is not. SET can only assign one variable at a time, SELECT can make multiple assignments at once. If assigning from a query, SET can only assign a scalar value. If the query returns multiple values/rows then SET will raise an error. SELECT will assign one of the values to the variable and hide the fact that multiple values were returned (so you'd likely never know why something was going wrong elsewhere - have fun troubleshooting that one) When assigning from a query if there is no value returned then SET will assign NULL, where SELECT will not make the assignment at all (so the variable will not be changed from it's previous value) As far as speed differences - there are no direct differences between SET and SELECT. However SELECT's ability to make multiple assignments in one shot does give it a slight speed advantage over SET.

2265


Define clustered index?

655


What is drop table?

661


Can we insert update delete in view?

659


What is with ur in db2?

879


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

882


what is the difference between packed decimal and zoned decimal?

2464


Where do you specify them?

770


How to Build a Row Condition?

1377


How do you differentiate between cobol and cobol-ii?

753