Page 1 of 1

invalid file size

PostPosted: Thu May 23, 2013 10:57 pm
by tony1131
*******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.

Re: invalid file size

PostPosted: Thu May 23, 2013 10:58 pm
by tony1131
arg, i posted this to wrong section! woops

Re: invalid file size

PostPosted: Thu May 23, 2013 11:01 pm
by BillyBoyo
You seem to be in the correct place :-)

Can you post the program code?

Re: invalid file size

PostPosted: Fri May 24, 2013 12:17 am
by Robert Sample
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.

Re: invalid file size

PostPosted: Tue Sep 30, 2014 4:07 pm
by Scarlett
Hello Akatsukami,

Could you please explain me to understand this parameter marker?

Re: invalid file size

PostPosted: Tue Sep 30, 2014 4:12 pm
by BillyBoyo
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.