MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

IGZ0075S error in Vsam file processing

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Problem Determination
View previous topic :: View next topic  
Author Message
Anand_R
Intermediate


Joined: 24 Dec 2002
Posts: 189
Topics: 60

PostPosted: Tue Nov 14, 2006 5:18 pm    Post subject: IGZ0075S error in Vsam file processing Reply with quote

Hi

I am getting IGZ0075S error while using VSAM file that I have created in the prior step. This error was happened because of incosisitenceis in Max Record Lenght between the file and the program that is using this file. But the hitch is I did not see any difference in maxium record length. Here are the vsam file base cluster definition
Code:

'  DEFINE CLUSTER -                            ',               
' (NAME(&ACCT1..TBV.PFMLV05.&CRCYC) -       ',                 
'      INDEXED -                               ',               
'      TO(2021365) -                           ',               
'      CYL(1 1) -                              ',               
'      SHAREOPTIONS(1,3) -                     ',               
'      NOERASE -                               ',               
'      SPEED -                                 ',               
'      FREESPACE(5 5) -                        ',               
'      KEYS(12 0) -                            ',               
'      RECORDSIZE (30 30)  -                   ',               
'      IMBED ) -                               ',               
' DATA  -                                      ',               
' (NAME(&ACCT1..TBV.PFMLV05.&CRCYC..DATA))- ',                 
' INDEX -                                      ',               
' (NAME(&ACCT1..TBV.PFMLV05.&CRCYC..INDEX)) ')                 

Here is the definiton of file in the program
Code:

FD  CUM-PREM-FILE IS EXTERNAL                         
    RECORD CONTAINS 30 CHARACTERS                     
    DATA RECORD IS CUM-PREM-FILE-RECORD.               
                                                       
01  CUM-PREM-FILE-RECORD.                             
05  CP-POLICY-NUMBER                  PIC X(12) .     
05  CP-CUMULATIVE-PREM-PAID           PIC 9(07)V99.   
05  CP-GROSS-ANN-PREMIUM              PIC 9(07)V99.   

Please help me in solving this issue. I tried all means but no result. Please let me know if you need any further info

Thanks
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Wed Nov 15, 2006 8:25 am    Post subject: Reply with quote

Anand_R,

You have defined the vsam file as EXTERNAL. Does the subroutine which opens this file also have the same attributes defined?

Check this link for an example of using external files.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3PG10/4.2.6.1?DT=20020923143836


Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anand_R
Intermediate


Joined: 24 Dec 2002
Posts: 189
Topics: 60

PostPosted: Wed Nov 22, 2006 9:45 am    Post subject: Reply with quote

Kolusu,

Sorry for getting back you late. You are right. There was a calling program which actually calls the program I had mentioned in my note. I have changed the paraments in the calling program also for that file and it worked fine.

Thanks for your time & help
Anand
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Problem Determination All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group