View previous topic :: View next topic
|
Author |
Message |
prav_06 Warnings : 1 Active User
Joined: 13 Dec 2005 Posts: 154 Location: The Netherlands
|
|
|
|
Hi All,
PSB some interview questions
1.there are 10 steps inside a job i want to execute only first five steps
I gave the options of IEBEDIT, COND parameter usage and even commenting out the remaining steps but the interviewer said he was expecting some other ans. is there any other way to accomplish this.
2. Can u delete a record from a seq. file , ans is a big NO
3. Difference b/w static call an dynamic call
4. Refer back of DD st.
5.Questions on IEFBR14
6. How to know the status of a table by using DB2 commands ... For this if any body has the set of commands that used to know the table and table space status please let us know would be useful
7. How does a compiler understand difference between 01 level and 77 level.
8. I need to test a program which uses a file of lrecl 150 how to populate data for testing, this was tricky please some body throw some light on the same.
9. Sql codes -818,-911
10.Isolation levels in particular CS
11. Questions on DB2 directory and to get the information from SYSIBM tables.
12.Ways of passing data to a cobol pgm , ans is PARM and Instream data
13.What are the parameters that are passed from a cobol to JCL , this was tricky the answer is setting the RC to some number for the further process of the down stream job.
14.Tables inside CICS.
15. Compilation of a CICS,DB2,COBOL pgm.
I appreciate if i get an answer for question # 1, 8and 6 the remaining i had answered correctly. thanks in advance.
Thamilzan. |
|
Back to top |
|
|
raak
Active User
Joined: 23 May 2006 Posts: 166 Location: chennai
|
|
|
|
Hi
U can give COND=(0,LE) in the steps u need to bypass... Those steps will not execute in that case.. |
|
Back to top |
|
|
raak
Active User
Joined: 23 May 2006 Posts: 166 Location: chennai
|
|
|
|
oops!! sorry , didn't notice that u cannot use COND... |
|
Back to top |
|
|
raak
Active User
Joined: 23 May 2006 Posts: 166 Location: chennai
|
|
|
|
One more suggestion.
Before step6 u can give an If condition to check return code of first step.
Give it like //CHK IF (STEP1.RC=101) THEN only perform remaining steps.
( give some value for RC which cannot occur )
Not a good idea i guess,, but it shd work |
|
Back to top |
|
|
prav_06 Warnings : 1 Active User
Joined: 13 Dec 2005 Posts: 154 Location: The Netherlands
|
|
|
|
oh yeah.... I missed that option IF , an of course its a good idea of telling such answers durin interview
Thamilzan. |
|
Back to top |
|
|
deepak.vl
New User
Joined: 17 Feb 2007 Posts: 38 Location: Hyderabad
|
|
|
|
You can insert a blank commented line after the fifth step. |
|
Back to top |
|
|
|