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

77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A will be executed.?

9 Answers   TCS,


How many sections are there in data division?.

10 Answers   Amdocs, TCS,


IF I mention stop run in CICS what happens?

0 Answers   IBM,


What does the IS NUMERIC clause establish ?

2 Answers  


I want ALL ERROR codes in VSAM

3 Answers   American Express, TCS,






I encountered an error when I move spaces to a numeric field?What should I do to move spaces on that field?help please.

9 Answers  


I have a occurs for 100 times but it has executed 101 time what could be the reason?

4 Answers  


Can anyone please give the example of Inline Perform.

6 Answers   TCS,


How do you sort in a COBOL program? Give sort file definition, sort statement syntax and meaning.

7 Answers   CGI, TCS,


I need to compare two VSAM files, both having 'number' as key. If there is a matching record, write the data into another VSAM file. How will it be possible.

1 Answers   DSRC,


Is It Possible to Update or change in VIEW Mode?

5 Answers   CSC,


What is the Linkage section? What is the Use and Why the parm length use alway "PARM-LENGTH PIC S9(4) or PIC S9 (4) COMP." any reason?.Please let me know any one... Cheers,Prasad

8 Answers   Syntel,


Categories