View previous topic :: View next topic |
Author |
Message |
baskkarsubbian Beginner
Joined: 31 Aug 2003 Posts: 18 Topics: 12
|
Posted: Mon Sep 01, 2003 2:35 am Post subject: Vsam Esds files |
|
|
Can I use an vsam esds file in a cobol program?
Then what is the syntax of the select class?
select logfilename assign to ddname
organization is ?  |
|
Back to top |
|
 |
butta_mvs Beginner
Joined: 17 Aug 2003 Posts: 22 Topics: 18
|
Posted: Mon Sep 01, 2003 5:29 am Post subject: |
|
|
same as normal cobol pgm but it should be assigned to dd name of jcl.
example
jcl
exec pgm=pgm1
dd1 dd dsn=vsam data set name,disp=shr
cobol
select infile assign to dd1 |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12382 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
Brian Beginner
Joined: 12 Aug 2003 Posts: 95 Topics: 6
|
Posted: Mon Sep 01, 2003 10:45 pm Post subject: |
|
|
Your Cobol program must contain something like this for ESDS VSAM files
SELECT ESDS ASSIGN TO AS-ESDS
ORGANIZATION IS SEQUENTIAL. |
|
Back to top |
|
 |
|
|