View previous topic :: View next topic
|
Author |
Message |
Jad
New User
Joined: 29 Jul 2005 Posts: 1
|
|
|
|
Hi,
I have a scenario where a same VSAM file will be accessed by multiple Jobs at the same time in read mode. Is it possible to access or it will fail for accessing problem.
Thanks in advance,
Jad |
|
Back to top |
|
|
vijayamadhuri
Active User
Joined: 06 Apr 2005 Posts: 180
|
|
|
|
It is possible.Anyhow try it as u are just reading it .I think they should be no problem. |
|
Back to top |
|
|
Ravi gaur
New User
Joined: 12 Jul 2005 Posts: 38
|
|
|
|
Jad,
if you will access the file in the edit mode it will fail (exclusive use in the edit mode) however if you will access this in the view or browse mode no problem at all..
If you have any concerns please let me know |
|
Back to top |
|
|
bandi
New User
Joined: 21 Jul 2005 Posts: 12
|
|
|
|
what are the pre -requisites in cobol program while using cobol-db2 program? can you ple let me know asap
kishore |
|
Back to top |
|
|
vijayamadhuri
Active User
Joined: 06 Apr 2005 Posts: 180
|
|
|
|
First u choose the method of communication with db2 which could be one of these
Static SQL
? Embedded dynamic SQL
? Open Database Connectivity (ODBC)
? JDBC application support
Then u declare all the tables and views required in the w-s section/linkage section
U then declare host variables and host structures.These are required for holding the data that is being retreived from the table something similar to the w-s variables we have in a cobo pgm.
then follows the precompile ,bind process after u finished writing the complete program |
|
Back to top |
|
|
|