how will you define vsam file in select clause?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the local-storage section?

693


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

839


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

433


Write some characteristics of cobol as means of business language.

634


how do you reference the rrds file formats from cobol programs

809






how do you reference the variable unblock file formats from cobol programs

759


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1884


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

2021


) How do u handle errors in BMS macro?

1435


Differentiate between structured cobol programming and object-oriented cobol programming.

675


What are the pertinent COBOL

2057


Explain how you can characterize tables in cobol?

654


Write the code implementing the perform … varying.

651


Write a program that uses move corresponding.

686


Difference between cobol and cobol-ii?

721