LPAD 1900 Spaces

KSK

KSK

Well Known Member
Hi all,

I got a requirement to write 1900 space to FLAT via Table Conversion.

As part of the logic, I have DD item: CURRENT (size :2000) and made LPAD on this variable for 1900 spaces then UBE throwing error message as "R55XXX caused an exception your system may become unstable "

Please give solution to have 1900 spaces on variable.

FYI:
I have hard coded 1900 spaces but the result is same.

Thanks in Advance !!.

Thanks,
SivaKumar.K
E811,8.5
 
Hi Siva Kumar,

Have you tried with fewer space?
If yes, did you checked where is the border?
Did you checked, that your DD item cause itself the error?

Depending on your answers/scenario maybe a silly solution can be using 3 DD item:

DD1 = ""
DD2 = ""
DD1 = Lpad(DD1,950,' ')
DD2 = Lpad(DD2,950,' ')
DD3 = concat(DD1,DD2)

Regards,

Zoltán
 
KSK,

The data dictionary item CURRENT does not allow blank entry (in my install anyway). I would have thought that this would create a specific error rather than the generic "... caused an exception your system may become unstable."
 
Back
Top