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 |
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 ?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length
How to execute a set of JCL statements from a COBOL program?
how can u pass the values into db2 values from cobol ?
what is rediffine clause?in what situation it can use?give me real time example?
What is SSRANGE, NOSSRANGE ?
Define in-line perform?
What is XDC ?
Hi, My interviewer ask A calls B and C calls B, a and b are static c and b are dynamic.what happens if they compile and execute at same time.
What is Comm?
2 Answers IBM, Kemper Corporation,
There is a variable with value 19446. Requirement is to convert it to 194.46. I tried it by doing divide by 100 and my receiving field data type is 9(03)v99. But the output is 194. I am not getting the decimal value. Could anyone pls let me know how to get this done?
how do you reference the fixed unblock file formats from cobol programs