View previous topic :: View next topic
|
Author |
Message |
ayayu
New User
Joined: 21 Jan 2006 Posts: 6
|
|
|
|
Can you please help me with the questions below? Thanks. Appreciate your help.
1) How would you override a TIME parameter to be 5 minutes, defined as TIME=10, on the EXEC card of the step STEP1 of a cataloged procedure?
2) You write a batch program to update a VSAM file from the sequential transaction file. Under what combination of conditions would you decide to do a sequential update rather than direct update?
choices:
a. transaction file is relatively small compared to the VSAM file
b. both files have comparable sizes
c. the transaction file is sorted by the same key as the VSAM file in the same order
d. the VSAM file doesn't have any alternate indexes defined
3) What COND parameter would you write to execute the second step if the first step returns 4 or less? Another words skip the second step if the first step is > 4.
4) Can you define an alternate index on the reusable cluster?
5) A COBOL Table has 10 entries, each entry is 12 bytes long. What is the displacement of the first entry in the table?
6) COBOL Table has 10 entries, each entry is 12 bytes long. What is the displacement of the second entry in the table
7) What would be the hexadecimal representation of -123.3 in the field defined as PIC S9(5)V99 COMP-3 ?
Thank you again. Need your help. |
|
Back to top |
|
|
Ramya A
Active User
Joined: 26 Jul 2004 Posts: 104
|
|
|
|
3)
STEP020 EXEC PGM=XXXX,COND=(4,GE,STEP010) |
|
Back to top |
|
|
ayayu
New User
Joined: 21 Jan 2006 Posts: 6
|
|
|
|
thank u!
hope you can help me with the other questions too...
thanks for ur help! |
|
Back to top |
|
|
senthils
Active User
Joined: 15 Nov 2005 Posts: 117 Location: Chennai, India
|
|
|
|
Quote: |
1) How would you override a TIME parameter to be 5 minutes, defined as TIME=10, on the EXEC card of the step STEP1 of a cataloged procedure?
|
ANS:
//STEP10 EXEC PROC=CAT1,TIME.STEP1=5 |
|
Back to top |
|
|
vinodmaanju
New User
Joined: 10 May 2005 Posts: 28 Location: Pune
|
|
|
|
1)
//STEP01 EXEC PROC=PROCNAME,TIME.STEP1=5
3)
//STEP02 EXEC PGM=XYZ,COND=(5,LT,STEP01)
5) 0
6) 12 |
|
Back to top |
|
|
pa1chandak Currently Banned New User
Joined: 31 Jan 2006 Posts: 55
|
|
|
|
4) Can you define an alternate index on the reusable cluster?
DEAR IT IS NOT POSSIBLE TO CREATE AN ALTERNATE INDEX
ON A CLUSTER CREATED WITH REUSE OPTION. AND IF YOU DO SO , YOU WILL NOT BE GETTING MAXXCC=0 AND COMPILER WILL NOT GIVE YOU CORRECT REASON .
SO YPU NEED TO CREATE ANOTHER CLUSTER WITHOUT REUSE OPTION TO HAVE AN ALTERNATE INDEX.
DO SEND ME THE REPLY
PAWAN C.
09822546416
pa1chandak@yahoo.com |
|
Back to top |
|
|
|