View previous topic :: View next topic |
Author |
Message |
culturewyj Beginner
Joined: 15 Jun 2006 Posts: 15 Topics: 10
|
Posted: Wed Jul 05, 2006 9:30 am Post subject: Cannot Open VSAM File. |
|
|
I have created a ksds vsam file.
Quote: | Data Set Name . . . : PX27.VSAM.EMP
General Data Current Allocation
Volume serial . . . : USER01 Allocated tracks . : 0
Device type . . . . : 3390 Allocated extents . : 0
Organization . . . : VS
Record format . . . : ?
Record length . . . : ?
Block size . . . . : ? Current Utilization
1st extent tracks . : 0 Used tracks . . . . : ?
Secondary tracks . : 0 Used extents . . . : ?
Creation date . . . : 2006/07/06
Referenced date . . : ***None***
Expiration date . . : ***None*** |
then I define it in cics,and install it.
but i cannot open it.
what 's wrong?
Quote: | I FILE(FILE2)
STATUS: RESULTS - OVERTYPE TO MODIFY
Fil(FILE2 ) Vsa Clo Ena Rea Sha INVALID DSNAME
Dsn( PX27.VSAM.EMP ) |
|
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
culturewyj Beginner
Joined: 15 Jun 2006 Posts: 15 Topics: 10
|
Posted: Wed Jul 05, 2006 6:51 pm Post subject: |
|
|
I have added two records in the vsam file,but the problem still exists. |
|
Back to top |
|
 |
shagnwrx Beginner
Joined: 06 Jul 2006 Posts: 14 Topics: 0 Location: Birmingham, AL
|
Posted: Thu Jul 06, 2006 4:19 pm Post subject: |
|
|
Look in the Jes log of the CICS region. You should see some DFHFCnnnn messages that indicate the nature of your error.
Maybe paste those syslog messages in here as well. _________________ SCCA South East Division RallyCross |
|
Back to top |
|
 |
culturewyj00 Beginner
Joined: 15 Jun 2006 Posts: 14 Topics: 7
|
Posted: Fri Jul 07, 2006 2:34 am Post subject: |
|
|
I have solved it like it
cemt s file(file2) open enable |
|
Back to top |
|
 |
shekar123 Advanced
Joined: 22 Jul 2005 Posts: 528 Topics: 90 Location: Bangalore India
|
Posted: Fri Jul 07, 2006 5:14 am Post subject: |
|
|
culturewyj00,
Some info on CEMT.
CEMT commands to used to inquire about system resources and to allows us to control them.
You can use CEMT for using any of the functions:
1.Discard
2.Inquire
3.Peform
4.Set
You can inquire the status of your File by using:
Code: |
CEMT I FI(FILE2)
STATUS: RESULTS - OVERTYPE TO MODIFY
Fil(WBVSCUST) Vsa Ope Ena Rea Upd Add Bro Del Sha
Dsn( PROJECT.TEST.FILE2 )
CEMT Set FIle()
<ALl>
<OPen>
<ENabled>
<REAd>
<UPdate>
<ADdable>
<BRowse>
<DElete>
<EXclusive>
<EMptyreq>
<OLd>
<DSname>
<Maxnumrecs>
<NOTtable>
|
Then use the Operation Set to enable the File to Open and Enable which will enable to CICS Application Program to make use of the VSAM KSDS.
Hope it helps. _________________ Shekar
Grow Technically |
|
Back to top |
|
 |
|
|