View previous topic :: View next topic
|
Author |
Message |
rakesha.hg
Active User
Joined: 21 Mar 2008 Posts: 161 Location: bangalore
|
|
|
|
hi all,
This is my vsamdef ...
Code: |
DELETE MNAP.MFQT.VSM10V.DOTMST -
PURGE -
CLUSTER
IF MAXCC EQ 8 THEN -
SET MAXCC EQ 0
DEFINE CLUSTER -
(NAME(MNAP.MFQT.VSM10V.DOTMST) -
RECORDS(75000 7500) -
RECSZ(600 600) -
SHR(2 3) -
FREESPACE(20 20) -
INDEXED -
KEYS(12 0)) -
DATA -
(NAME(MNAP.MFQT.VSM10V.DOTMST.DATA ) -
RECSZ(600 600) -
CISZ(18432)) -
INDEX -
(NAME(MNAP.MFQT.VSM10V.DOTMST.INDEX))
IF MAXCC EQ 0 THEN -
REPRO INFILE(FILE10) -
ODS(MNAP.MFQT.VSM10V.DOTMST) REUSE
DEFINE ALTERNATEINDEX -
(NAME(MNAP.MFQT.VSMR1V.CAIALT) -
RELATE(MNAP.MFQT.VSM10V.DOTMST) -
KEYS(8 176) -
RECORDS(75000 7500) -
SHR(2 3) -
RECSZ(25 60013) -
FREESPACE(20 20) -
NONUNIQUEKEY -
NOREUSE -
UPGRADE) -
DATA -
(NAME(MNAP.MFQT.VSMR1V.CAIALT.DATA) -
RECSZ(25 60013) -
CISZ(18432)) -
INDEX -
(NAME(MNAP.MFQT.VSMR1V.CAIALT.IDX))
DEFINE PATH -
(NAME(MNAP.MFQT.VSMR1V.CAIALT.PATH) -
PATHENTRY(MNAP.MFQT.VSMR1V.CAIALT))
BLDINDEX -
INDATASET(MNAP.MFQT.VSM10V.DOTMST) -
OUTDATASET(MNAP.MFQT.VSMR1V.CAIALT)
DEFINE ALTERNATEINDEX -
(NAME(MNAP.MFQT.VSM10V.DOTMST.ALT1) -
RELATE(MNAP.MFQT.VSM10V.DOTMST) -
KEYS(7 526) -
RECORDS(75000 7500) -
SHR(2 3) -
RECSZ(24 120012) -
FREESPACE(20 20) -
NONUNIQUEKEY -
NOREUSE -
UPGRADE) -
DATA -
(NAME(MNAP.MFQT.VSM10V.DOTMST.ALT1DATA) -
CISZ(4096)) -
INDEX -
(NAME(MNAP.MFQT.VSM10V.DOTMST.ALT1IDX))
DEFINE PATH -
(NAME(MNAP.MFQT.VSM10V.DOTMST.ALT1PATH) -
PATHENTRY(MNAP.MFQT.VSM10V.DOTMST.ALT1))
BLDINDEX -
INDATASET(MNAP.MFQT.VSM10V.DOTMST) -
OUTDATASET(MNAP.MFQT.VSM10V.DOTMST.ALT1) |
when i'm trying to write MNAP.MFQT.VSM10V.DOTMST file using the CICS program i'm getting Illogic error ... the cics statement i'm using is
Code: |
EXEC CICS WRITE
DATASET ('MFQTF10')
FROM (MASTER-VSAM-RECORD)
RIDFLD (RECORD-ID)
LENGTH (600)
END-EXEC |
where MFQTF10 - MNAP.MFQT.VSM10V.DOTMST file .....
Please see if i need to do anything else in this regard. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Your idcams step did not succeed...
You repro with REUSE, but the cluster definition does not have it
You cannot use the REUSE token when dealing with alternate indexes
Your vsam is empty, not even initalized with a dummy record,
hence the illogic error in cics |
|
Back to top |
|
|
rakesha.hg
Active User
Joined: 21 Mar 2008 Posts: 161 Location: bangalore
|
|
|
|
hi enrico,
Quote: |
Your idcams step did not succeed...
You repro with REUSE, but the cluster definition does not have it |
when i executed this ... it ran successfully.... do i need to put reuse in base?
Quote: |
You cannot use the REUSE token when dealing with alternate indexes |
Now in my jcl what should i do?... what would be the considerations for Base & alternate index?
Quote: |
Your vsam is empty, not even initalized with a dummy record, |
the file i'm using in the repro(.illogic file) is present ... i didn't get your above sentence .. which file are you mentioning?
please clarify? |
|
Back to top |
|
|
rakesha.hg
Active User
Joined: 21 Mar 2008 Posts: 161 Location: bangalore
|
|
|
|
hi,
sorry for another post .... the file (FILE10 in the repro step is present .... i didnt copy it here .)
Thanks, |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
my bad,
I just run a test, a repro with REUSE works with an empty cluster,
still it' a a bad standard to use it when not needed
- I am on a minimalist side
many others would have done the same remark
illogic from a file request means that the definition or the current status of the dataset do not agree with the operation being requested,
check the file and all the related definitions |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
You need to show EIBRCODE to get more information about the VSAM error that the ILLOGIC refers to. |
|
Back to top |
|
|
rakesha.hg
Active User
Joined: 21 Mar 2008 Posts: 161 Location: bangalore
|
|
|
|
hi all,
The problem was due to the alternate index ... which were spaces & low-values in my file ... i used the production file & built alternate indexes ... its working now.
Thanks robert for the Eibrcode suggestion ... i looked into both EIBRESP & EIBRESP2 fields .... resp2 fields clearly gives more detail about the error .. from which i realised it was problem with AIX.
Thanks all. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Glad to hear you got it fixed. |
|
Back to top |
|
|
|