08-23-2007 7:17 AM
Hi Friends ,
I have got a clasical report to display it in back ground , when i look at the output length in back ground the is not exceeding more than 255 charecters ,
My out put length is more than 255 charecters due to which few colums are not displayed in back ground .
Can any body help me displaying the whole out put in back ground mode.
It is urgent ,
Full points awarded
Anil
08-23-2007 7:19 AM
The size of the line is specify with the command REPORT ... LINE-SIZE.
Just set to 1023.
Fred
08-23-2007 7:19 AM
The size of the line is specify with the command REPORT ... LINE-SIZE.
Just set to 1023.
Fred
08-23-2007 7:23 AM
Fred ,
Increasing the line size did not work out , is there any other way to fix it .
ANil
08-23-2007 7:25 AM
When you run your program in background you have specify a printer witch support only 255 line size ?
Just change the print parameter when you call the program in background
08-23-2007 7:25 AM
You might be creating some spool request for same.\
Check if some option available there..
Regards
Sushil
08-23-2007 7:23 AM
Try to use statement Report <Report Name> Lines-size <SIze>.
Size can be upto 1024.
Put it in start of program where report <Report name> comes automatically.
Regards
Sushil
08-23-2007 7:42 AM
Anil,
I understand your problem. As long as i understand, when you execute a report in background the list goes to the spool output. The maximum width of the spool output is only 255 chars even though the list output can have a maximum of 1023 chars.
NB: Reward points if found useful.
I have heard that you can read those spool output with length > 255 chars... you can try using this system call....
CALL 'C_RSTS_OPEN_READ' ID 'HANDLE' FIELD HAND4
ID 'CLIENT' FIELD HIDE_CLIENT
ID 'NAME' FIELD HIDE_NAME
ID 'PART' FIELD HIDE_PART
ID 'RC' FIELD RSTSRC
ID 'ERRMSG' FIELD ERRMSG.
CALL 'C_RSTS_READ' ID 'HANDLE' FIELD HAND4
ID 'BUFTAB' FIELD BUFTAB-SYS
ID 'MAXIX' FIELD 10000
ID 'RC' FIELD RSTSRC
ID 'ERRMSG' FIELD ERRMSG
I am not sure how to use them actually.
Regards
Balaji
08-23-2007 7:59 AM
Balaji ,
It would be more usefull if you let me know where to use this piece of code.
Anil