SCO Unix Notes

Published on July 2020 | Categories: Documents | Downloads: 9 | Comments: 0 | Views: 83
of 13
Download PDF   Embed   Report

Comments

Content

 

Table of Contents End Of Day Report. Report....................................................................................................................................2 Print End Of Day Report:. Report:......................................................................................................................2 End Of Day Extensions: Extensions:........................................................................................................................2 ........................................................................................................................2 Recover from EOD Crash:. Crash:....................................................................................................................2 Statements...................................................................................................................................................2 Statements Report Reader ............................................................................................................................................3 Printers.......................................................................................................................................................3 .......................................................................................................................................................3 Printers Okidata Installation:. Installation:..............................................................................................................................3 Printer:....................................................................................................................................4 ....................................................................................................................................4 Activate Printer: Install:...............................................................................................................4 ...............................................................................................................4 Laser Network Printer Install: Kill Print Jobs:.......................................................................................................................................4 Jobs:.......................................................................................................................................4  Networking.................................................................................................................................................5  Networking.................................................................................................................................................5 Card:............................................................................................................................5 ............................................................................................................................5 Install Network Card: Routes:.........................................................................................................................................5 .........................................................................................................................................5 Show Routes: Route Add:............................................................................................................................................5 Add:............................................................................................................................................5 Delete:.........................................................................................................................................5 Route Delete:. Unlock Terminals:. Terminals:.................................................................................................................................6 Flags.....................................................................................................................................6 .....................................................................................................................................6 Clear System Flags Clear Receivers Work Order  ........................................................................................................................................6 ......................................................................................................................................6 Clear Receivers..........................................................................................................................................6 ..........................................................................................................................................6 Installation..............................................................................................................................7 SCO Server Installation Install:....................................................................................................................................7 Initial OS Install: Software Installation:............................................................................................................................7 Installation:............................................................................................................................7 Install Backup: ......................................................................................................................................7 Users...................................................................................................................................................7 Add Users...................................................................................................................................................7 User:..................................................................................................................................7 Unix System User: User:..............................................................................................................................................8 ..............................................................................................................................................8 POS User: Salesman:. Salesman:...............................................................................................................................................8 POS:. POS:.......................................................................................................................................................8 Technician: Technician:............................................................................................................................................8 ............................................................................................................................................8 Files.....................................................................................................................................................8 Log Files See login log:.........................................................................................................................................8 log:.........................................................................................................................................8 Customer Special Price Price...............................................................................................................................8 Transfers.........................................................................................................................................9 Unlock Transfers

1

 

End Of Day Report Print End Of Day Report: cd /usr/sbt/data/ps01/invoice (use ps03/invoice for Billings and ps02 for Panther) l MMDDYY* lp -s -dprinter# MMDDYY*

if printing at corporate make sure right paper is in the tray

End Of Day Extensions: Extensions for reprinting: .day ................................. Sales Journal .roa .................................. ROA's .reg .................................. Tender Summary .wqp................................. Work Orders .tc1 .................................. Technician Report .tc3 .................................. Technician Report .isy .................................. Invoice Summary

Recover from EOD Crash: login @ store – make sure no one else is logged in, tell users to stay off until you are done, even if it starts printing. clear System Flags: root - /usr/sbt   - foxplus sysflag – yes – no – yes 1st  no to rest – y to continue clearing The following must be done at the store (logged in locally as regular user, not using remote connection and not as root):{ “POS” --> “Utility” --> “release eod logs” --> “yes”(recovery) --> “no”(report) --> “no”(register file analysis) --> “e”(eod) } login as root and clear system flags again if you still can't open the register do this extra step “POS” --> “Utility” --> “release eod logs” --> “yes”(recovery) --> enter --> “no”(report) --> “no”(register file analysis) --> Q

Statements End of Month statements cutoff is on the 25 2 5th so you can only on ly prepare the statements after the 25 th once  polling is completed. Before beginning – delete the old ppsinfo*.txt files from ar01-04 so as not to get them confused with the new files.  1. Edit the sy sysdata sdata files files so they will will be gathered gathered correctly. correctly. 2

 

 a) cd /usr/sbt  → foxplus → set excl off  →  → use sysdata → edit  b) for for eac each h  LOC  (1-4)  (1-4) { screen down and look for SYSID AR  LOC   ?rlock() - removes the lock on the file before you can edit it change STR7 to 15 on the 26 th to do the report change STR7 to 30 on the 11 th for aging to work correctly}  c) for each each  LOC  (1-4)  (1-4) { cd /usr/sbt/data/ar  LOC  →  → set excl off → use arsysd LOC  →  → edit → ?rlock() •











change STR7 to 15 on the 26 thth to do the report change STR7 to 30 on the 11  for aging to work correctly}  b) age the account accountss for locati locations ons 1-3 on on the 26th just go into aging number 6, but on the 11th use the password AGE then say Y to save the file.  d) for for eac each h  LOC  (1-3)  (1-3) { open tireworks → AR → C → M → for selected locations say no to 89 and 99 S → 1 → change the date for beginning (PM - p past ast month) to: PM/26/YY change the date for cutoff (CM - current month) to: CM/25/YY accept the defaults for all else write down the totals given so you can ca n add these to the text file and send to accounting}  e) the files files from the reports reports will will be saved to /usr/s /usr/sbt/da bt/data/ar  ta/ar  LOC  rename /ar01 file: rename ppsinfo.txt ppsinfo.txt.az rename /ar02 file: rename ppsinfo.txt ppsinfo.txt.panther  rename /ar03 file: rename ppsinfo.txt ppsinfo.txt.billings  f) on another computer computer get get the new ppsinfo ppsinfo txt files files and append billings billings to the end end of az  g) update the the statement statement count txt txt file file  h) upload the az, az, panther, panther, and statement statement count files files to ftp site site  2. Run the Equifa Equifax x file and and send it it afterward afterwards. s. •

















Orders Cycle Reports 1. rr → Orders 2. run the report reportss for each each RNAME(con RNAME(containe tainer, r, B/O Quick, Quick, Lost Lost Sales){ Sales){ 1. for each each LOC(at LOC(atoz( oz(bla blank) nk),, bil, bil, pan){ pan){ 1. if(RNAME if(RNAME == Lost Lost Sales) Sales) change change the the start start date date to 90 days back. back. 2. run run tthe he repo report rt an and d appen append d 2 . }} 3. this will will create create the files files contbo.txt contbo.txt,, quickbo.txt, quickbo.txt, and and lostsales. lostsales.txt txt 4. im impo port rt th thee ffil iles es to a DBF DBF 1. cd /us /usr/ r/sb sbt/ t/co copy py 2. foxplus 3. for each each FILE(co FILE(contb ntbo, o, quickbo, quickbo, losts lostsale ales){ s){ 1. us usee FIL FILE E ind index ex FILE FILE 2. zap → y 3. append append from from FILE.tx FILE.txtt type type delimit delimited ed with with , 4. should should see see a mess message age of record recordss added. added.} } 5. now run the report report to make make the files files for the the intranet intranet side. side. 1. rr → Orders 3

 

2. run Store Store Orders Orders Header Header change change the due due date and and run (bil, (bil, pan appended) appended) change change 1. mak akes es head header er.t .txt xt 3. run Store Orders Orders Line Items and run (bil, (bil, pan pan appended) appended) 1. mak akes es or orde der. r.tx txtt

Report Reader  rr

 to manage licenses / no available user id rrusers –  to

Printers Okidata Installation: Installing Okidata Microline 420 Networked Printer  Use the OkiNet Utility for TCP/IP to get MAC address of the printer. Use that to set the ip address using DHCP. Once you have that you can log into the printers web server. Admin default login is user: admin password: OkiLAN Change the password to: tires Set up using the printer menu and the guide for settings. Setup in Unix

 Activate Printer: scoadmin  --> “Hardware” --> “Parallel Port” --> “Add” --> 1 --> accept the defaults scoadmin  --> “Printers” --> “Printer Manager” --> “Printer” --> “Add Local”

name=printer1

model=proprinter

dev=/lpd

Laser Network Printer Install: scoadmin printer (to get to SCO Unix printer management) printer → add local

type in the PRINTERNAME under model choose Net 4

 

under device choose /dev/null choose ok  now select the printer you just added from the list then go to Settings → Advanced → Banners change the number of banner pages to 0 choose ok and you are done with that area. edit the hosts file by adding the ip address and PRINTERNAME vi /etc/hosts

add the new printer to the /etc/printers file underneath the others that have been added vi /etc/printers

the format will be something like this PRINTERNAME:PRINTERNAME (same as added to the hosts file since this is for the ip address):9100:netcat:TireWorksLaser:DESCRIPTION

add it to TireWorks like normal

/****** OLD INSTRUCTIONS BUT KEEPING IF NEW WAY DOESN'T WORK WELL ************************************************************************************************\  base model for network laser is /usr/spool/lp/admins/lp/interfaces/hplaser /usr/spool/lp/admins/lp/interfaces/hplasertest.orig test.orig cd /usr/spool/lp/model cp testlaser MYPRINTER  “testlaser contains: #/usr/spool/lp/model/MYPRINTER  /usr/spool/lp/admins/lp/interfaces/hplasertest.orig /usr/spool/lp/admins/ lp/interfaces/hplasertest.orig “$@”|netcat -h IPADDRESS -p 9100 “ #edit the model file you just created for the correct ip address. 5

 

vi MYPRINTER  #add the printer to unix /usr/lib/lpadmin -p MYPRINTER -m MYPRINTER -v /dev/null /usr/lib/accept MYPRINTER  enable MYPRINTER 

Label Printer Install: // echo”instructions” | netcat -hPRINTERIP -p9100 (is a command to test print, with instruct instructions ions being  printer specific instructions or command command codes. copy the file /usr/sbt/pLabel90 to the new printer name and modify it for the ip ad address. dress. Under TireWorks add the printer using this command cat | ./pLabel90 (with pLabel90 being the new file you created and modified) That's it, this printer won't be set up in lp and will only print directly to the port

Kill Print Jobs: lpstat -o cancel PRINTJOB#TOKILL (usually the first one)

or if a big list of print jobs to kill lpstat -o PRINTERNAME | while read a b; do cancel $a; done confirmed that this works for laser printers

or  scoadmin follow the menu's to printer and terminate from there lpstat -a lists the available printers digione configuration ncxa_config

6

 

Print to PostScript File: In tireworks put under the device text2post>./fileName.ps now you you will have a postscript file that can be grabbed and printed from a remote computer.

Networking Install Network Card: display the list of devices in the pci slots hw -r pci

install the card or use an onboard network device install the drivers using custom add the card and use settings found by the hw command to see what the Bus, Device, and Function numbers are. IP Address : 10.0.0.44  Net Mask: 255.255.255.0 Broadcast: 10.0.0.255 Domain: atoztire.com Connections: 1024 Psuedo ttys: 64

Show Routes: display the list of routes currently in the server  netstat -r

Route Add: adds a route to the server where default is the route add DESTINATION GATEWAY ex. to add the default gateway do: route add default 10.0.0.1

7

 

Route Delete: deletes a route from the server  route delete DESTINATION

Unlock Terminals: ttyunlock ttyTERMINALNUMBER 

for use if a terminal is locked which happens especially when a security test is ran.

Clear System Flags make sure no one else is on the computer except root Go to second page of “main menu” by using pg up get into “System Manager” #10 :bat hit “Clear System Flags” 4 Y to continue N when asked to clear indices Y to sys manager  Y to General ledger  N to all else unless you are doing this for another module such as Reels Pay

(This clears flags for all companies and takes 5-10 minutes.)

Clear Work Order  login to tireworks on store server to clear flag 6:bat “Point of Sale” --> F “File Maintenance” --> 9 “Clear Work Order Status”

enter location then number including the preceeding letter codes. ex: Store 10 = AW27700

Clear Receivers login to tireworks cd /usr/sbt/data/in01 set exclude off  go bottom

8

 

rlock() -lock the record edit change from 99 to 0 for the locked one

SCO Server Installation Initial OS Install:  boot from the CD get the correct disk for the “link” defbootstr link=amird

Srom=alad(0,5,0)

follow along the menu's and accept ac cept defaults till required to enter license number  license, code, and data numbers can be found on the floppy disk  follow the menu again { make sure you create the partition labeled “u” either during the setup or through the command divvy “u” needs to be HTFS file system scoadmin --> “File Manager” ---> “Device” lbl: /dev/0

mount point : /usr/sbt

Software Installation: get disk to install custom --> “Software” --> “Install New”

The following need to be installed: 1. RS505A 2. OSS497 3. OSS600A 4. Foxp Foxplu luss ent enter (delete

+

i ) when error is given

5. Y2K Fo Foxp xplu luss pat patch ch ent enter er (continue) when error is given

Install Backup:  Note: This is mainly for a server for an existing existing store. If backup is on tape drive, put tape in drive and enter these commands sconf -v mkdev tape (mount to use the tape drive) tar xv8

9

 

Add Users Unix System User: scoadmin --> “Account Manager” --> “Users” --> “Add”

enter user name and password and accept the defaults then edit the .profile file found in /usr/USERNAME to be like another similar user  Ex. for corporate: cd /usr/jamie

copy .profile /usr/USERNAME

POS User: (To add the user to Point of Sale first need to know if the person is a salesman, manager, or technician. If he is a salesman salesman you have to have his Salesman Salesman ID. You need to check for the ID in in the Accounts. This is usually the initials Firstname Lastname unless that is already taken.)

Salesman: at Store --> “Accounts Receivable” --> “File” --> “SalesPerson” --> ID --> Add Want to Add:  

Name: NAME

Location: STORE# 

DATE(MM/DD/YY)

Commission: 10% (usually)

POS: at Store only: “Point of Sale” --> “File”--> “File”--> “Users” --> “Add” --> Setup like another person person there

Technician: setup at store: “Point of Sale” --> “File” --> “Technician (if new do at store, store, if changing do at both Corporate and the store.

Log Files See login log: who /var/adm/wtmp 

Customer Special Price login with your user name go into tireworks “Inventory”:dea ---> 4”Customer Price” Enter the store number for the customer just to make the search quicker  10

 

“Add” ---> Name it : “STORECODEACCOUNTNAME” ex: For Markup with a price level of 9 Base Price of 3 and -9 percent off

N Ready

Unlock Transfers cd /usr/sbt/data/in01 foxplus set excl off  use inmtrn01 locate for trnseqnum='NUMBER' ?rlock() edit set SIGNATURE to 0 instead of 99

Prepare Statements login as root cd /usr/sbt foxplus set excl off  use sysdata edit – then page down through the database till you get to AR01 AtoZ

for AR01-04 { ?rlock() edit

if(curDate == 11th) { page down to STR7 change 15 to 30 enter ctrl^w

} else { page down to STR7 change 30 to 15 enter ctrl^w

} } now to change the corresponding database for each location 11

 

for StoreNum from 01-04 { cd /usr/sbt/data /ar StoreNu  StoreNum m foxplus set excl off  use arsysd StoreNu  StoreNum m ?rlock() edit

if(curDate == 11th) { page down to STR7 change 15 to 30 enter ctrl^w

} else { page down to STR7 change 30 to 15 enter ctrl^w

} } remove old ppsinfofiles login to tireworks for StoreNum from 01-04 { 2 (Accounts Receivable) → 6 (Age Customers)

if StoreNum != 04 { C (Print Customer Statements) → M → put N beside 89, 99 and 23

choose Create a PPS file Only edit the starting date to PreviousMonth/26/year edit the ending date to Month/25/year

}

write down the statement total so you can give that to Nicole and PPS

} for StoreNum from 01-03 { cd /usr/sbt/data/ar StoreNu  StoreNum m rm ppsinfo.txt.{az, panther, billings} rename ppsinfo.txt ppsinfo.txt.{az, panther, billings}

} ftp statements to PPS and numbers to Nicole

12

 

Shutdown shutdown -g0 -y

13

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close