Flat File Processing - E91 b76b0220 - record length restriction

  • Thread starter Freelancer In France
  • Start date

Freelancer In France

Member
Hello,
There is a restriction in E91 b76b0220 to only process a maximum flat file record length of 1500. As you can see from the code extract below, any attempt to send in anything greater resets the length passed to 1500.
..........
iErrCode = MathNumericToInt(&lpDS->mnRecordLength, &iRecordLength);
if (iRecordLength > 1500)
{
/* maximum number of characters to be copied is 1500 */
iRecordLength = 1500;
}
..........

I am processing a flat file that has a record length of around 2500 chars that I need to write to the F0911Z1. Does anybody know any reason why I couldn't just clone the b76b0220 and change it to, say, 5000 char?

Thanks,
Simon
 
Hi Simon,
Not sure I understand your question: did you clone AND got into trouble, AND you need to know why?
 
In short - You can clone and change the length. Make sure data structure element is also changed to take the length you need.

We did earlier similar stuff, had no issue.

Thanks, Gov
 
I've done this before using the DD LONGMSG, it's a string 3.000 characters long.

I just changed the Data Struct and .H and .C to consider the nem lenght.
 
Back
Top