Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Back ground

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

FredericGirod
Active Contributor
0 Kudos

The size of the line is specify with the command REPORT ... LINE-SIZE.

Just set to 1023.

Fred

7 REPLIES 7

FredericGirod
Active Contributor
0 Kudos

The size of the line is specify with the command REPORT ... LINE-SIZE.

Just set to 1023.

Fred

0 Kudos

Fred ,

Increasing the line size did not work out , is there any other way to fix it .

ANil

0 Kudos

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

0 Kudos

You might be creating some spool request for same.\

Check if some option available there..

Regards

Sushil

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

Balaji ,

It would be more usefull if you let me know where to use this piece of code.

Anil