View previous topic :: View next topic
|
Author |
Message |
hariharan_b83 Currently Banned New User
Joined: 24 Jun 2006 Posts: 5 Location: india
|
|
|
|
How can we get to know whether a flat file is used or VSAM file is used inside the program? |
|
Back to top |
|
|
muthuvel
Active User
Joined: 29 Nov 2005 Posts: 217 Location: Canada
|
|
|
|
If the file in the program used has a select statement like the below
For KSDS
Code: |
SELECT <file> ASSIGN TO <filename>
ORGANIZATION IS INDEXED
ACCESS MODE IS RANDOM
RECORD KEY IS <key field>
FILE STATUS IS < file status flag>. |
For RRDS
Code: |
SELECT <file> ASSIGN <filename>
ORGANIZATION IS RELATIVE
ACCESS MODE IS RANDOM
RELATIVE KEY IS RECORD-NUMBER
FILE STATUS IS <file status flag>. |
For Sequential
Code: |
SELECT <file> ASSIGN <filename>
FILE STATUS <file status flag>. |
|
|
Back to top |
|
|
|