UNIX and Linux FAQ

The FAQ page contains answers to questions commonly asked of Shared Logic technicians that are of a general nature.  Questions and answers related to our UNIX and Linux applications software, the UNIX or Linux operating system itself, or other UNIX or Linux related topics are included here.

NOTE: In these answers we will follow a few shorthand conventions for describing user-interface procedures.  Key combinations will be presented as [Ctlr+Alt+Del], which means that you should press and hold down the Control key, the Alt key, and the Delete key at the same time.  Menu selections will be presented like this: Menu Name ->Page Number ->Selection Wording, which means that you should start at the referenced menu, go to the referenced page, and enter the number that corresponds to the selection wording.


Can file names be based on the operator running the program, or the port on which the program is run? Yes, both of these options are available, and are used as follows:
  1. Determine the number of the file that is to include the operator or port reference.
  2. Use MAINTAIN FILE CONTROL FILE (DCM.FILE) to access the file.
  3. Change the "File ID" to include one or both of the following
"@@@" in the positions to receive the operator initials

"##" to receive the (2-character alphanumeric) port number

  1. Do not change the first 4 characters of the File ID, and keep the company number as the last 2 characters, to conform to naming standards.
  2. The operator initials that are placed in the File ID, replacing the "@@@" designators, is taken from $SLGOPERATOR.  You should define this environment variable in the user's profile.
  3. The port number is determined from the $SPC6 value in the environment.
How do I start the Enterprise RIMAS for UNIX application?
The manner in which you start the Enterprise RIMAS for UNIX or LINUX application depends on the profile that your system administrator set up for your use when you "login" to the system.

Most often, the last command in your profile will be an "exec" command that starts the Shared Logic application by automatically running a "Startup" program.  This startup program may choose the company, effective port date and printer for you, our you may be asked to enter some or all of these choices.  After you accept these selections, you will be placed in the first menu appropriate to your use of the system.

If you were not placed in the Shared Logic "Startup" program automatically, you are probably at a UNIX or LINUX command line prompt.  Shared Logic has provided a script (a UNIX version of a batch file) that can be used to start the application.  Ask your system administrator for the name of this script.

If you do not have a script to start the application, you will probably have to enter the command "RUN", followed by a space and the name of a Shared Logic program to be run.  For example, "RUN SP.STARTUP" will cause the startup program to be run.

How are UNIX printers defined and named?
By Shared Logic convention, printer names start with $LPT.  Normally, one additional character is added to distinguish one printer from another.  For example, it is common to use $LPT1 or $LPTA as printer names.  However, as many as ten additional characters may be used.  For example, one could use $LPTOFFICE, $LPTJOHN, or $LPTREMOTE as printer names.

Shared Logic has developed the following special printer drivers:

$LPTPC - prints reports on the default printer for a MS Windows telnet client.

$LPTVT - displays (i.e., pages) a report on the screen of a VT100 terminal.

$LPTWY - displays (i.e., pages) a report on the screen of a Wyse 60 terminal.

In all of these cases, IMS/Basic and IMS/Query substitutes "/dev/" for the "$" in the printer name.  So the file "/dev/LPT1" is opened when the printer name "$LPT1" is specified.

This same printer naming convention applies to scripts (i.e. UNIX batch files) that are used to spool reports, rather than outputting directly to the printer.  IMS determines whether direct output to a printer, or output to the print spooler, is desired by checking the "execute" permission on the printer name.  If "/dev/LPT1S", for example, has execute permission, then the report is piped to the script.

Printers that are referenced in the Accounts Payable "TS" and/or "TO" codes, and the Accounts Receivable "TI" codes, are limited to one additional character in their names.

Back to Windows Support Page | Back to UNIX Support

 

  Copyright © The Shared Logic Group, Inc.  All rights reserved worldwide.
Site-Map | Spider-Map