You are on page 1of 7

December 2, 2021

Commander Uploads & Downloads

Plans Uploaded to Mainframe takes 1.5 hours

Make sure all users are off


Use the old PC on the left
Reboot and sign on as MI3WCD 68382
F10 to get out to DOS
D: <enter>
CD\PLANS <enter>
CLSRPT2 <enter> (or CLSRPT3 for ‘95 plans)

Fill out the next screen as follows. Press <enter> after each line.
1994 Plans 1995 Plans
D:\PLANS D:\PLANS
D D
01134 01135
CLS0113 CLS0113B
CLS0113.TXT CLS0113B.TXT

Y <enter> to create plans for these departments

Come back in about 30 minutes. (Do not continue until you see a blue screen
with ‘Hermans World of Sporting Goods’ at the top)

S <enter> to upload selected files


D:\PLANS\EXPORT\*.TXT <enter>

Put an ‘x’ next to each department to be uploaded. Press F3 when done


selecting departments. NOTE: plans ending in ‘5’ are ‘95 plans, plans ending
in ‘4’ are ‘94 plans. You must select EVERY ‘94 plan or EVERY ‘95 plan.

Come back in about 15 minutes. Shut off the PC, and tell Fernando that the
Arthur file has been uploaded.

NOTE:If you have any problems, or if the system locks up part way thru, Tom
Elliott can help you restart the batch files.

Unit Plans Uploaded to Mainframe takes 1.5 hours

Make sure all users are off


Go to D:\PLANS
CLSRPT2U.BAT
Enter on each line (confirm CLS0113U not CLS0113)
Y to create all departments
Come back in 30 min
S to upload selected files
At path press ENTER
Select desired files (ending in U) except txt files (page down)

CALL Fernando when finished. Make sure he only applies these to the UNIT
version of the ladder, not the dollar version.
Arthur Actuals Every Monday AM 3 hours

This downloads actuals into both product and location plans, dollar and unit
versions.

Users should be out of Arthur


At D:\PLANS type ACTDOWN3.BAT [see attached printout]
Come back in an hour
When a box with four filenames appears, press ENTER 4 times
Come back in a half hour
When cursor jumps to the first line in the box, press ESC
Let it finish by itself (about 2 hours)

DIF to LOTUS

Commander user prints to a file. Use Lotus to translate DIF to 123. Users do
all of this on their own now. Source file is in C:\CEIS.

Creating WSDF file

Usually user does (mostly Sandy)

Go to Info Request and follow prompts


Select products w/ENTER, F3 when done
Location - use no attributes (how you do core stores)
No performance
WSDF generation
3 across var by period (enter to move down)
ex. P9209, P9212
Blank to default
1
4 lines of variables by code (ex. A1), separated by commas
Write down request number
ESC

Creates file based on ID & request #. SA2SXM.ARTHUR@@.R0000015.S01.WSDF


Request number is always R + 7 digits. Use Sheila's signon SA2SXM (SA2SM) or
RE7UTX.
Downloading WSDF to DIF (on request - usually Sandy)

Use Ron's PC
Go to C:\CEIS
LANCOMM
CD\CEIS
MSEEKS

Find out from user what ID created file with - RE7UTX.ARTHUR@@ or


SA2SXM.ARTHUR@@, etc. Depends on PC used to create the file.

At MSeek:
SEL C:\CEIS\UTILITY\HERMAN.SEQ (what sequence file to use)
TER (start terminal mode)

Sign on to TSO as SA2SXM SA2SM

At TSO ready prompt:


MSPLUS
U or D
From mainframe file in quotes
ex. 'RE7UTX.ARTHUR@@.R0000001.S01.WSDF'
To PC file of your choice in CEIS
ex. C:\CEIS\SHIT.WSD

Download up to ten files before go to Lotus to convert (why 10?)

Sign off TSO


CTL-F10 to exit MSeek
Exit
UNLANCOMM (to free up memory)

Go to C:\CEIS
WTODIF
Enter source directory and file ex. C:\CEIS\SHIT.WSD
Get C:\CEIS\SHIT.DIF

Go into Lotus
Translate DIF to Lotus

Uploading from Arthur to Commander

Arthur will export in WSDF format. Do upload through MSEEK.


CLSRPT2.BAT

REM CLSRPT2.BAT
@echo off
cd\back
askplan
if errorlevel 1 goto end
rem ************************************************************
rem bat file to create exports using arthur pplan and learn&play
rem ************************************************************
call batslsez.bat
:upload
if not exist d:\misc\slsreprt.dat goto slsrpt
copy d:\misc\slsreprt.dat d:\misc\slsreprt.old
del d:\misc\slsreprt.dat
:slsrpt
rem ****************************
rem combines exports into 1 file
rem ****************************
cd\back
classrpt
if exist d:\misc\slsreprt.dat goto hllap
echo ************************************************************************
echo * Upload file SLSREPRT.DAT was NOT created, upload will NOT take place *
************************************************************************
pause
goto end
:hllap
NET USE F: \\HERM2.SERVE\USR2
d:
cd\back
CALL LANCOMM
call upslsrpt
CALL UNLANCOM
d:
goto end
:end
ACTDOWN.BAT

REM ACTDOWN.BAT
@echo off
CD\BACK
NET USE F: \\HERM2.SERVE\USR2
CALL LANCOMM
rem
rem * make sure we're on a machine with hllapi loaded on the local hard drive
rem
c:\ceis\mseeks29 job c:\ceis\connect
c:\ceis\mseeks29 job c:\ceis\actuals
rem c:\ceis\mseeks29 job c:\ceis\TACT
c:\ceis\mseeks29 job c:\ceis\disconct
:freemem
CALL UNLANCOM
D:
CD\BACK
:LBLCONT
del \clipper5\???clact.prn
del \clipper5\???onord.prn
del\clipper5\???dsact.prn
del\clipper5\???csact.prn
copy \imports\clact.prn \imports\*.old > nul
copy \imports\onord.prn \imports\*.old > nul
copy \imports\dsact.prn \imports\*.old > nul
copy \imports\csact.prn \imports\*.old > nul
del\imports\clact.prn
del \imports\onord.prn
del \imports\dsact.prn
del \imports\csact.prn
rem ***************************************************************************
rem * following program reads downloaded files and formats them into Lotus *
rem * import format *
rem ***************************************************************************
:actit
CLS
ECHO PLEASE WAIT...
cd\clipper5
ACTUAL03
rem
rem * errorlevel is set to 1 by program ACTUAL03 if there is not enough
rem * memory to run arthur(dplan)
rem
if errorlevel 1 goto freemem
:LBLCOP
CD\CLIPPER5
copy hdrclact.prn+dtlclact.prn \imports\clact.prn > nul
copy hdronord.prn+dtlonord.prn \imports\onord.prn > nul
copy hdrdsact.prn+dtldsact.prn \imports\dsact.prn > nul
copy hdrcsact.prn+dtlcsact.prn \imports\csact.prn > nul
rem
rem * don't run the learn&plays if any of the download files are missing
rem
if not exist \imports\clact.prn goto nofile1
if not exist \imports\onord.prn goto nofile2
if not exist \imports\dsact.prn goto nofile3
if not exist \imports\csact.prn goto nofile4
:LRNPLAY
cd\plans
DPLAN PLAN=D0101133 PLAY=COPRPLAY NOCOPY
DPLAN PLAN=D0101133 PLAY=OLOCPLAY NOCOPY
:LOCCONT
CD\PLANS
DPLAN PLAN=D0201133 PLAY=COPRPLAY NOCOPY
DPLAN PLAN=D0201133 PLAY=OLOCPLAY NOCOPY
DPLAN PLAN=D0301133 PLAY=COPRPLAY NOCOPY
DPLAN PLAN=D0301133 PLAY=OLOCPLAY NOCOPY
DPLAN PLAN=D0401133 PLAY=COPRPLAY NOCOPY
DPLAN PLAN=D0401133 PLAY=OLOCPLAY NOCOPY
DPLAN PLAN=D0501133 PLAY=COPRPLAY NOCOPY
DPLAN PLAN=D0501133 PLAY=OLOCPLAY NOCOPY
DPLAN PLAN=D0601133 PLAY=COPRPLAY NOCOPY
DPLAN PLAN=D0601133 PLAY=OLOCPLAY NOCOPY
DPLAN PLAN=D0701133 PLAY=COPRPLAY NOCOPY
DPLAN PLAN=D0701133 PLAY=OLOCPLAY NOCOPY
DPLAN PLAN=D0801133 PLAY=COPRPLAY NOCOPY
DPLAN PLAN=D0801133 PLAY=OLOCPLAY NOCOPY
DPLAN PLAN=D0901133 PLAY=COPRPLAY NOCOPY
DPLAN PLAN=D0901133 PLAY=OLOCPLAY NOCOPY
DPLAN PLAN=D1001133 PLAY=COPRPLAY NOCOPY
DPLAN PLAN=D1001133 PLAY=OLOCPLAY NOCOPY
DPLAN PLAN=D1101133 PLAY=COPRPLAY NOCOPY
DPLAN PLAN=D1101133 PLAY=OLOCPLAY NOCOPY
DPLAN PLAN=D1201133 PLAY=COPRPLAY NOCOPY
DPLAN PLAN=D1201133 PLAY=OLOCPLAY NOCOPY
DPLAN PLAN=D1301133 PLAY=COPRPLAY NOCOPY
DPLAN PLAN=D1301133 PLAY=OLOCPLAY NOCOPY
DPLAN PLAN=D1401133 PLAY=COPRPLAY NOCOPY
DPLAN PLAN=D1401133 PLAY=OLOCPLAY NOCOPY
DPLAN PLAN=D1501133 PLAY=COPRPLAY NOCOPY
DPLAN PLAN=D1501133 PLAY=OLOCPLAY NOCOPY
DPLAN PLAN=D1601133 PLAY=COPRPLAY NOCOPY
DPLAN PLAN=D1601133 PLAY=OLOCPLAY NOCOPY
goto end
:nohllap
CLS
echo **************************************************************************
echo ERROR - HLLAPPI NOT FOUND; CANNOT PERFORM THIS FUNCTION ON THIS COMPUTER
echo **************************************************************************
PAUSE
goto end
:nofile1
CLS
echo **************************************************************************
echo ERROR - \IMPORTS\CLACT.PRN NOT FOUND - UNABLE TO CONTINUE
echo **************************************************************************
PAUSE
goto end
:nofile2
CLS
echo **************************************************************************
echo ERROR - \IMPORTS\ONORD.PRN NOT FOUND - UNABLE TO CONTINUE
echo **************************************************************************
PAUSE
goto end
:nofile3
CLS
echo **************************************************************************
echo ERROR - \IMPORTS\DSACT.PRN NOT FOUND - UNABLE TO CONTINUE
echo **************************************************************************
PAUSE
goto end
:nofile4
CLS
echo **************************************************************************
echo ERROR - \IMPORTS\CSACT.PRN NOT FOUND - UNABLE TO CONTINUE
echo **************************************************************************
PAUSE
:end

You might also like