how will you define vsam file in select clause?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are declaratives and what are their uses in cobol?

714


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1808


What are the different rules for performing sort operation?

766


HOw can I get the negative sign while deduct high value from low value

1797


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 ?

1877






What is the difference between goback, stop run and exit program in cobol?

932


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5065


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

650


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1933


What are literals?

632


How many bytes S(8) comp field occupy and its maximum value?

1638


What is perform what is varying?

711


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2103


What is the difference between PIC 9.99 and PIC9v99?

783


How do define dynamic array in cobol.

675