invalid file size



Unicenter CA-Easytrieve Plus Report Generator: CA's information retrieval and data management tool

invalid file size

Postby tony1131 » Thu May 23, 2013 10:57 pm

*******A012 INVALID LENGTH - FILEB




//FILEB DD DSN=TEBTOTS.TB242.PCA.MASTEXT.NOTT,
// DISP=SHR
//* DISP=(,CATLG,DELETE),UNIT=HSMDA,
//* SPACE=(50000,(5000,500),RLSE),VOL=(,,,10),
//* LRECL=25,RECFM=FB,BLKSIZE=0


FILE FILEA VB(576 27998)
ATRAN 1 3 P
ALEDG 4 2 P
AACCT 6 4 P
ATYPE 10 2 P
AMESS 12 2 P
APROD 120 1 A
ASTAT 121 1 A



FILE FILEB VB(25 28800)
BTRAN 1 5 N
BREG 7 2 A


Just want to know if fileb "has" to be (576 27998). WIll only run successfully if i change 25 to 576 to match filea. I need to reduce it because if i use 576 the file is too large and can't fit all the data I need. I've just been playing around with the numbers to try and make it work. I'm new to this so let me know if you require more info to help.
tony1131
 
Posts: 12
Joined: Thu Mar 21, 2013 9:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: invalid file size

Postby tony1131 » Thu May 23, 2013 10:58 pm

arg, i posted this to wrong section! woops
tony1131
 
Posts: 12
Joined: Thu Mar 21, 2013 9:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: invalid file size

Postby BillyBoyo » Thu May 23, 2013 11:01 pm

You seem to be in the correct place :-)

Can you post the program code?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: invalid file size

Postby Robert Sample » Fri May 24, 2013 12:17 am

Your JCL says the file has fixed length records of 25 bytes. Your Easytrieve program says the file has variable length records so yes, you are going to get invalid length messages. Why are you posting about FILEA when the error message clearly indicates FILEB has the problem?

And 28800 is not a good choice for block size -- if the file has fixed length records you should be using 27975 block size, and if the file has variable length records use 27998 block size.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: invalid file size

Postby Scarlett » Tue Sep 30, 2014 4:07 pm

Hello Akatsukami,

Could you please explain me to understand this parameter marker?
Pass your braindumps and APPLE exams in first try by using our guaranteed University of Washington .
Scarlett
 
Posts: 1
Joined: Tue Sep 30, 2014 4:04 pm
Has thanked: 0 time
Been thanked: 0 time

Re: invalid file size

Postby BillyBoyo » Tue Sep 30, 2014 4:12 pm

We don't solicit help from individuals.

If you can start a new topic with the details of what you are asking, everyone can look at it and perhaps help.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times


Return to CA-Easytrieve

 


  • Related topics
    Replies
    Views
    Last post