how will you define vsam file in select clause?

Answers were Sorted based on User's Feedback



how will you define vsam file in select clause?..

Answer / snehatechm

select xxxx assign to dd1
organization is indexed
access is dynamic
record key is vsam-key
file status is file-status vsam-code.

Is This Answer Correct ?    9 Yes 0 No

how will you define vsam file in select clause?..

Answer / adarsh562

select file-name assign to dd-name
organization is indexed
access mode is sequential
record key is key-name
file status is fs-code.

Is This Answer Correct ?    2 Yes 0 No

how will you define vsam file in select clause?..

Answer / nirmal anwesh

select file-name assign to A-ddname
organization is indexed
access mode is sequential
record key is key-name
file status is fs-code.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

Write a program to explain size error.

0 Answers  


What is Static and Dynamic linking ?

3 Answers  


What is normalisation?

2 Answers   IBM,


What is the output generated by the following code? 01 GRP-I. 05 SUBFLD1 PIC XX VALUE "AB". 05 FILTER PIC X(6) VALUE SPACES. 01 GRP-2 REDEFINED GRP-1. 05 SUB-FLD2 PIC XX. 05 SUB-FLD3 PIC XX. 05 FILTER PIC X(4). IF SUB-FLD1 NOT = SPACES DISPLAY "SUBFLD1" MOVE "ABBCCD" TO GRP-1 IF SUB-FLD3 = SPACES DISPLAY "SPACES" ELSE DISPLAY "SUBFLD3" DISPLAY "END" ELSE DISPLAY "SPACES" DISPLAY "END". (a) SUBFLD1 SUBFLD3 END (b) SPACES END (c) SUBFLD1 END (d) SUBFLD1 SPACES

7 Answers   TCS,


Can anybody give me example of subscript and index

5 Answers  






2)Where the Plan is located in CICS-DB2?

1 Answers   IBM,


What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I want Display WS-VARX and WS-VARN?

3 Answers   Xansa,


what is call by value and call by reference ?

3 Answers   Infosys, ITC Indian Tobacco Company,


Is It Possible to Update or change in VIEW Mode?

5 Answers   CSC,


What type of SDLC u followed? Why?

0 Answers   IBM,


how to run sub programs using static and dynamic call ...

3 Answers   TCS,


How can we increase the size of an existing PDS to include more no. of modules. I tried the answer posted by Jagan(TSO PDS 'pds name') but did not find it working. The answer posted by kamal i know very well. Please suggest me a answer so that we don't need to delete the existing PDS and still we can change the size as well.

10 Answers  


Categories