Dear Vincent, you raised two interesting issues:
 
   #1 - printing more than 132 characters per line
   #2 - security breach concerns raised by giving 
           command line access to a BPCS user


Here's our response to #1 .....................................................
           .........( 2nd response arriving in separate message ) 

  When a BPCS menu option is selected, the menu program 
  processes some system functions (like overriding the 
  print file to the 132 character report width) and then calls 
  the program listed for that menu option. If you include an
  OVRPRTF statement in the CL program that runs a query, 
  you could then change the report width from 132 characters 
  to the specific line length needed for that query.

Warm regards and God bless,  

Milt Habeck
Unbeaten Path International

Toll free North America:  (888) 874-8008
International voice: (262) 681-3151
mhabeck@xxxxxxxxxx  
www.unbeatenpathintl.com  



+++++++  +++++++  +++++++  +++++++  +++++++  +++++++
From: Vincent Dsouza
To: bpcs-l@xxxxxxxxxxxx
Sent: Wednesday, April 28, 2004 12:10 AM
Subject: Print reports > 132 chr

Hi,

We are running  BPCS ver 6.02 on 820 machine, The max report 
width setup in 'system control data area'  (SYS041D) is 132 chrs
We have developed many in-house queries where the report width
exceeds 132 columns. All queries are run from CL programs. When
these queries are run from the menu, the report width setup in 
SYS041D overrides the report width of these queries and the output
gets truncated to 132 character. When the CL(query) program is 
executed from command line the report width in SYS041D is 
ignored and we are able to produce reports greater than 132
columns.

By giving the user access to command line we give rise to an 
security breach, by granting the user rights to run any program 
from command line like (ACR100D1, INV100 et etc).

How can we print reports > 132 chrs from the menu without having to
compromise on the width of these reports and access to command line.
Does anyone have a solution to this problem ?.

Rgds
Vincent D'souza
Jotun UAE LTD LLC
P.O. Box 3671
Dubai, UAE.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.