how will you define vsam file in select clause?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
how to fetch the record before the last record in a cobol file( its a huge file and if the key field is not known)
What is the difference between binary search and sequential search?
how do you define single dimensional array and multidimensional array in your cobol?
Can we use goto statement in inline_perform ?
Can anyone explain me CALL procedure in COBOL.Does it carries similarities like call by reference in C.
What kind of error is trapped by on size error option?
if a pic 9(3) value 354,b pic x(2) value '46' then a)a>b 2)a<b 3)error
PERFORM ACCUMULATE-TOTALS VARYING A FROM 1 BY 2 UNTIL A >2 AFTER B FROM1 BY 1 UNTIL B>2 AFTER C FROM 2 BY -1 UNTIL C<2 How many times the paragraph ACCUMULATE-TOTALS would be exicuted?
A paragraph PARA-X is to be executed when none of the data names A, B and C have value of 1. Which of the following will achieve this ? (a) IF A NOT = 1 OR B NOT = 1 OR C NOT = 1 PERFORM PARA-X (B) IF NOT A= 1 AND B= 1 AND C = 1 PERFORM PARA-X (C) IF A NOT =1 IF NOT B = 1 OR C= 1 PERFORM PARA-X (C) IF A NOT = 1 AND B NOT = 1 AND C NOT = 1 PERFORM PARA-X
what is difference between cobol and cobol/400
what is the difference between COBOL2 AND COBOL390?
What is the point of the REPLACING option of a copy statement?