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 |
What is the mode in which you will OPEN a file for writing?
I hv ten records in ps file and i hv say some 15 records in vsam file .i hv empno and age in ps file n empno,empname,dept n desig in vsam file. i hv 2 read the ps file n check wid matching empno in vsam file and then insert all fields from ps and vsam into db2 table....plz help in writin the procedure division
I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?
What is the difference between write & move in COBOL?
Define static linking and dynamic linking.
u have passed sme charecters thru parm parameter in jcl. how do u code in cobol to recieve the values u gave in parm ?
What is normalisation?
what happens if we wont give timestamp in precompilation process ?
input:- 12233344445555566666... output:- 1=1,2=4,3=9... Here firstno i.e 1 should be displayed and after that the alikeno.s should be added n displayed.i.e 2+2=4 like tat it goeson.
if a pic 9(3) value 354,b pic x(2) value '46' then a)a>b 2)a<b 3)error
Program A calls program B. Will the working storage variables declared in program B be initialized every time it is called by program A or will the values be retained until the end of program A?
how to know that the file has 300 records how to acess it?