                            SCREEN DESIGNER FOR COBOL


    ***************************************************************************
    *   FEEL FREE TO COPY THIS DISK AND GIVE IT TO ASSOCIATES AND FRIENDS.    *
    * ------------------------------------------------------------------------*
    * A MAXIMUM CHARGE OF $10.00 MAY BE CHARGED AS A DISTRIBUTION FEE FOR     *
    * THIS SOFTWARE .                                                         *
    ***************************************************************************

    ***************************************************************************
    *  THE USER CAN ONLY USE THE SCREEN DESIGNER SOFTWARE FOR SEVEN DAYS FOR  *
    *  EVALUATION PURPOSES BEFORE PURCHASING.                                 *
    ***************************************************************************


                               ****************
                               * TO PURCHASE  *
                               ****************


    SEND CHECK TO

    DAN CHOPPING
    3516 PARTRIDGE LANE
    CASPER, WY 82604

    (307) 234-8760 AFTER 5:00 PM MST

********************************************************************
*   COST $ 25.00 FOR 1ST COPY, $ 20.00 FOR EACH ADDITIONAL COPY.   *
********************************************************************

**************************************************************************
*  THE USER CAN ONLY USE THE SCREEN DESIGNER SOFTWARE FOR SEVEN DAYS FOR *
*  EVALUATION PURPOSES BEFORE PURCHASING.                                *
**************************************************************************


COPY REGISTER.FRM TO PRINTER FOR REGISTRATION. [COPY REGISTER.FRM PRN]


MULTIPLE COPIES DISCOUNTS AND SOURCE CODE ARE AVAILABLE.

NP
                       *********************************
                       * SCREEN DESIGN SYSTEM OVERVIEW *
                       *********************************

THE SCREEN DESIGN SOFTWARE PACKAGE CONTAINS FIVE PROGRAMS CREATED TO MINIMIZE
THE TIME REQUIRED TO DEVELOP AND MAINTAIN SCREEN LAYOUTS FOR ONLINE
APPLICATIONS. THE AUTHOR HAS BEEN A SYSTEMS ANALYST FOR OVER TEN YEARS AND HAS
BEEN FRUSTRATED BY THE AMOUNT OF TIME REQUIRED TO DESIGN AND MAINTAIN SCREEN
LAYOUTS MANUALLY. THE AUTHOR HAS DONE PROGRAMMING FOR PCS AND A NCR VRX
MAINFRAME. THIS PACKAGE DOES NOT INCLUDE LOTS OF BELLS AND WHISTLES, BUT THE
AUTHOR BELIEVES IT GETS THE JOB DONE. 

THERE ARE MANY PC SCREEN HANDLING SOFTWARE PACKAGES ON THE MARKET TODAY, BUT
THEY OFTEN REQUIRE SPECIAL SOFTWARE TO WORK. THE AUTHOR WORKS FOR A SCHOOL
DISTRICT WITH OVER 40 IBM PC COMPATIBLES. THIS MAKES EXISTING PC SCREEN HANDING
PROGRAMS VERY EXPENSIVE WHEN LICENCED ON A PER MACHINE BASIS. MAINFRAME SCREEN
HANDLING PROGRAMS ALSO ARE AVAILABLE BY GENERALLY ARE EXPENSIVE AND/OR TAKE A
DEGREE OF PROCESSOR TIME TO WORK. THIS SCREEN DESIGN PACKAGE CREATES GENERIC
COBOL WORKING-STORAGE SCREEN DEFINITIONS WHICH DO NOT NEED SPECIAL SOFTWARE TO
OPERATE. THIS GENERIC SCREEN DEFINITION CAN BE USED ON MAINFRAMES,
MINICOMPUTERS AND PCS.

NP

THE FOLLOWING TABLE SHOWS SCREEN DESIGN PROGRAMS AND AND THEIR FUNCTIONS.

PROGRAM		DESCRIPTION
-----------------------------------------------------------
SDMENU		MENU PROGRAM FOR SCREEN DESIGN

SDEDIT		CREATES AND MODIFY SCREEN PROGRAM

SDCOBOL		GENERATES COBOL WORKING STORAGE SCREEN 
		DEFINITIONS CREATED IN SDEDIT

SDCOM		NCR 796-101 TERMINAL EMULATION PROGRAM AND 
		COBOL SCREEN DEFINITION UPLOAD PROGRAM

SDCONFIG	SCREEN DESIGN CONFIGURATION PROGRAM
-----------------------------------------------------------

ALL USER ENTERED KEYSTROKES ARE ENCLOSED WITH <>.

NP
                   *****************************************
                   * LET'S BE REASONABLE LICENSE AGREEMENT *
                   *****************************************

BY USING, OR COPYING THE SCREEN DESIGN SOFTWARE DISK OR MANUAL THE USER IS
BOUND BY THIS LICENCE AGREEMENT AND WARRANTY.

THE USER CAN ONLY USE THE SCREEN DESIGNER SOFTWARE FOR SEVEN DAYS FOR
EVALUATION PURPOSES BEFORE PURCHASING.

DAN CHOPPING GRANTS THE PURCHASER A NON-EXCLUSIVE AND NON-TRANSFERABLE LICENSE
TO USE THIS SOFTWARE. 

BACKUP COPIES OF THIS SOFTWARE AND MANUAL MAY BE MADE FOR USER'S BACKUP
PURPOSES ONLY. THE PURCHASER AGREES NOT TO SELL COPIES OF THIS SOFTWARE
WITHOUT THE EXPRESSED WRITTEN CONSENT OF DAN CHOPPING.

THIS SOFTWARE MAY BE USED BY ANY NUMBER OF PEOPLE AND MOVED FROM ONE COMPUTER
TO ANOTHER SO LONG AS THERE IS NO POSSIBILITY OF IT BEING USED ON MORE THAN ONE
COMPUTER AT THE SAME TIME.

THE PURCHASE CAN HAVE THIS SOFTWARE INSTALLED ON A HOME PC AND A WORK PC
AT THE SAME TIME SO HE CAN TAKE HIS WORK HOME.

THE PURCHASER ALSO AGREES NOT TO DISASSEMBLE OR DECODE THE SCREEN DESIGN
PROGRAMS, OR DUPLICATE THE LOOK AND FEEL OF THIS SOFTWARE.

THE PURCHASER AGREES THAT DAN CHOPPING CAN TRANSFER THE COPYRIGHT OF THE
SOFTWARE TO ANYONE AT ANY TIME.

DAN CHOPPING RESERVES THE RIGHT TO MAKE CHANGES TO THIS SCREEN DESIGN SOFTWARE
AND MANUAL WITHOUT OBLIGATION TO NOTIFY ANY PERSONS OR ORGANIZATIONS OF SUCH
CHANGES.

MULTIPLE COPIES DISCOUNTS AND SOURCE CODE ARE AVAILABLE.

NP
                                ************
                                * WARRANTY *
                                ************

 
DISCLAIMER OF ALL WARRANTIES
----------------------------
THIS SOFTWARE IS SOLD "AS-IS" WITH NO OTHER WARRANTIES EXPRESSED OR IMPLIED.

THERE IS NO WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

BECAUSE OF THE DIVERSITY OF HARDWARE AND SOFTWARE THE USER IS ADVISED TO TEST
THIS SOFTWARE THOROUGHLY BEFORE RELYING ON IT. 

THE USER MUST ASSUME THE ENTIRE RISK OF USING THIS SOFTWARE. 

THE PURCHASER AGREES THAT DAN CHOPPING AND/OR SELLER IS NOT RESPONSIBLE FOR ANY
HARDWARE OR SOFTWARE DAMAGE CAUSED BY THIS SOFTWARE OR DISTRIBUTION DISKETTES.

DAN CHOPPING AND/OR SELLER SHALL HAVE NO LIABILITY OR RESPONSIBILITY TO ANY ONE
IN RESPECT TO LIABILITY, LOSS OR DAMAGE DIRECTLY OR INDIRECTLY ARISING OUT OF
THE USE OF THE DISTRIBUTION DISKETTE OR SOFTWARE. THIS INCLUDES, BUT IS NOT
LIMITED TO, ANY LOSS OF BUSINESS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES.

TRADEMARKS
----------
IBM, IBM-PC, IBM-XT, IBM-AT AND IBM-PROPRINTER ARE REGISTER TRADEMARKS OF 
INTERNATIONAL BUSINESS MACHINES CORPORATION.

NCR, VRX, NCR VRX, I SYSTEM, AND OLPD ARE TRADEMARKS OF NATIONAL CASH REGISTER
CORPORATION.

MS-DOS IS A TRADEMARK OF MICROSOFT CORPORATION.

TURBO BASIC IS A TRADEMARK OF BORLAND INTERNATIONAL INCORPORATED.

COBOL AND BASIC ARE INDUSTRY LANGUAGES AND ARE NOT PROPERTY OF ANY ONE COMPANY.

EPSON IS A TRADEMARK OF EPSON CORPORATION.

ANZIO IS A TRADE MARK OF RASMUSSEN AND ASSOCIATES.

APOLOGIZE FOR ANY UNINTENTIONAL MISTAKES OR OMISSIONS.

NP
                           **********************
                           * THE SDMENU PROGRAM *
                           **********************

SDMENU ALLOWS THE USER TO SWITCH QUICKLY AND EASILY BETWEEN THE DIFFERENT
SCREEN DESIGN PROGRAMS. WHEN SDMENU CALLS THE OTHER PROGRAMS IN THE SCREEN
DESIGN SOFTWARE PACKAGE, IT PASSES THE COMMAND LINE INFORMATION REQUIRED FOR
THE OTHER PROGRAMS TO FIND THE SCREEN DESIGN CONFIGURATION FILE.

LOADING SDMENU
--------------
THE SDMENU PROGRAM IS CALLED FROM THE DOS PROMPT. WHEN SDMENU IS CALLED, THE
DOS COMMAND LINE MUST CONTAIN THE SUBDIRECTORY INFORMATION REQUIRED FOR THE
PROGRAMS TO FIND THE SCREEN DESIGN CONFIGURATION FILE. THIS COMMAND LINE PATH
INFORMATION IS THEN PASSED TO ALL OTHER SCREEN DESIGN PROGRAMS. THE USER IS NOT
REQUIRED TO USE SDMENU TO CALL UP ANY OTHER SCREEN DESIGN PROGRAMS. 

EXAMPLES:
       SDMENU C:\SD 
   OR
       SDEDIT C:\SD   

IF THE SCREEN DESIGN CONFIGURATION FILE IS IN THE DEFAULT DIRECTORY, NO COMMAND
LINE INFORMATION IS ENTERED.

EXAMPLES:
     SDMENU
OR
     SDMENU C:\SD

THE AUTHOR RECOMMENDS THE USER CREATE A BAT FILE AND PUT IT INTO A DIRECTORY
THAT HAS BEEN DESIGNATED BY THE PATH DOS COMMAND. THE USER THEN ONLY NEEDS TO
ENTER THE BAT FILE NAME TO LOAD THE SCREEN DESIGN SOFTWARE FROM ANY DISK AND
SUBDIRECTORY.  FOR EXAMPLE THE USER COULD CREATE A SDM.BAT FILE TO INSTRUCT DOS
TO ACCESS C:\SD SUBDIRECTORY. 
THE PROCEDURE IS AS FOLLOWS:

1. INSERT SCREEN DESIGN FLEX DISK IN THE A FLEX DRIVE.
2. ENTER <C:> TO ACCESS THE HARD DISK.
3. ENTER <MKDIR SD> TO CREATE A SCREEN DESIGN SUBDIRECTORY.
4. ENTER <CD SD> TO ENTER THE SCREEN DESIGN SUBDIRECTORY.
5. ENTER <COPY A:*.* /V> TO COPY SCREEN DESIGN SOFTWARE 
   INTO SUBDIRECTORY.
6. ENTER <CD ..> TO EXIT SUBDIRECTORY.
7. ENTER <CD DOS> TO GO INTO DOS SUBDIRECTORY.
8. CREATE SDM.BAT FILE BY ENTERING <EDLIN SDM.BAT>
9. ENTER <#I> TO ENTER EDLIN'S ADD MODE.
10. ENTER <C:\SD\SDMENU.COM C:\SD\> TO CREATE COMMAND LINE.
11. ENTER <CTRL Z> TO EXIT EDLIN'S ADD MODE.
12. ENTER <E> TO EXIT EDLIN.
13. ENTER <CD ..> TO EXIT DOS SUBDIRECTORY.
14. ENTER <SDM> TO CALL UP SCREEN DESIGN SOFTWARE.

NP
                           **********************
                           * THE SDEDIT PROGRAM *
                           **********************

THE SDEDIT PROGRAM IS USED TO CREATE, EDIT AND PRINT SCREEN LAYOUTS. USE SDEDIT
TO DEVELOP YOUR SCREEN LAYOUTS. SDCOBOL  HAS VERY LIMITED SCREEN EDITOR
FUNCTIONS.

LOADING SDEDIT
--------------
THE SDEDIT PROGRAM CAN BE CALLED FROM THE SDMENU PROGRAM OR FROM THE DOS
PROMPT. WHEN SDEDIT IS CALLED FROM THE DOS PROMPT, THE DOS COMMAND LINE MUST
CONTAIN THE SUBDIRECTORY INFORMATION REQUIRED FOR SDEDIT TO FIND THE SCREEN
DESIGN CONFIGURATION FILE. 

EXAMPLE: SDEDIT C:\SD

IF THE SCREEN DESIGN CONFIGURATION FILE IS IN THE DEFAULT DIRECTORY, NO COMMAND
LINE INFORMATION IS ENTERED. IF SDEDIT IS UNABLE TO FIND THE SCREEN DESIGN
CONFIGURATION FILE THE USER WILL BE ASKED TO CONTINUE THE EDIT SESSION. 
ENTERING <N> WILL CAUSE THE  SDEDIT PROGRAM TO TERMINATE. ENTERING <Y> WILL
CAUSE THE SDEDIT TO USE DEFAULT VALUES.

THE SDEDIT EDITOR
-----------------
SDEDIT'S EDITOR IS DESIGNED TO CREATE SCREEN LAYOUTS. IF YOU ARE FAMILIAR WITH
TEXT PROCESSING EDITORS, YOU CAN EASY LEARN HOW TO USE SDEDIT. SDEDIT USES LINE
25 AS ITS STATUS LINE. LINE 25 IS ALSO USED FOR DIALOG BETWEEN THE USER AND THE
PROGRAM WHEN FUNCTION KEY OPERATIONS ARE BEING PERFORMED. LINES 1 TO 24 SHOW
THE SCREEN LAYOUT BEING EDITED. 

NP
CURSOR MOVEMENT KEYS
--------------------
THE FOLLOWING TABLE SHOWS THE LIST OF CURSOR MOVEMENT KEYS AVAILABLE IN THE
SDEDIT PROGRAM.

EDITOR COMMANDS
-----------------------------------------------------------
LEFT ARROW		MOVE CURSOR LEFT 1 CHARACTER
CTRL LEFT ARROW		MOVE TO COLUMN 1 OF CURRENT LINE
RIGHT ARROW		MOVE CURSOR RIGHT 1 CHARACTER
CTRL RIGHT ARROW	MOVE CURSOR TO COLUMN 80 OF CURRENT 
			LINE
UP ARROW		MOVE CURSOR UP 1 LINE
DOWN ARROW		MOVE CURSOR DOWN 1 LINE
ENTER KEY		MOVE CURSOR TO COLUMN 1 OF NEXT 
			LINE
HOME KEY		MOVE CURSOR TO LINE 1 CURRENT 
			COLUMN
END KEY			MOVE CURSOR TO LINE 24 CURRENT 
			COLUMN
BACKSPACE KEY 		DELETE CURRENT CHARACTER AND 
                        MOVE CURSOR LEFT 1 CHARACTER
DELETE KEY		DELETE THE CURRENT CHARACTER
FORWARD TAB             MOVE CURSOR TO 1ST SPACE
                        CHARACTER AFTER THE NEXT CHARACTER STRING
REVERSE TAB             MOVE CURSOR TO 1ST SPACE BEFORE CHARACTER OF
                        PREVIOUS CHARACTER (SHIFT TAB)
-----------------------------------------------------------

LINE 25 STATUS LINE
-------------------

L XX C XX
---------
LINE 25 COLUMNS 2 THRU 10 DISPLAYS THE CURSOR'S LINE AND COLUMN POSITION. 

INS / OVR
----------
DISPLAYS IN COLUMNS 12 THRU 14 OF LINE 25 WHETHER THE EDITOR IS IN INSERT OR
OVERSTRIKE MODE. PRESSING THE <INS> KEY WILL SWITCH THE EDITOR BETWEEN THE
INSERT AND OVERSTRIKE MODE.

INSERT MODE ALLOWS YOU TO TYPE CHARACTERS IN ANYWHERE, WITHOUT LOSING ANY
CHARACTERS TO THE RIGHT OF THE CURSOR.
WHEN THE EXISTING TEXT IS PUSHED INTO COLUMN 80 OF THE CURSOR LINE THE EDITOR
WILL SOUND THE BELL.

CHARACTERS TYPED IN OVERSTRIKE MODE WILL REPLACE THE CHARACTER UNDER THE
CURSOR. 

NP
B XX XX XX
----------
LINE 25 COLUMNS 16 THRU 24 DISPLAYS THE LINE NUMBER, AND BEGINNING AND ENDING
COLUMN NUMBERS OF THE MARKED BLOCK.
THE MARKED BLOCK WILL NOT BE HIGHLIGHTED UNTIL A BLOCK OPERATION IS PERFORMED.

1MB THRU 10EXIT
---------------
LINE 25 COLUMNS 25 THRU 66 DISPLAYS THE HELP MENU FOR FUNCTION KEY OPERATION
EXPLAINED BELOW.

FUNCTION KEY TABLE
-----------------------------------------------------------
F1           MARK BLOCK BEGIN
F2           MARK BLOCK END
F3           COPY MARKED BLOCK
F4           SWAP MARKED BLOCK
F5           INSERT LINE (LEFT/RIGHT/LINE)
F6           DELETE LINE (LEFT/RIGHT/LINE)
F7           ZAP SCREEN DATA (LEFT/RIGHT/LINE/ABOVE/BELOW)
F8           JUSTIFY LINE (LEFT/RIGHT/CENTER)
F9           PRINT OR MAP SCREEN
F10          SAVE SCREEN AND/OR EXIT PROGRAM
SHIFT F1     CREATE "x" TYPE FIELD
SHIFT F2     DISPLAY FIELD SIZE
             IF CURSOR IS ON A SPACE " "
                 HOW MANY CHARACTERS TO NEXT FIELD OR END OF SCREEN
             IF CURSOR IS ON A NON SPACE CHARATER
                 HOW MANY CHARACTERS IN THE FIELD
-----------------------------------------------------------

XXXXXXXX.XXX
------------
LINE 25 COLUMN 68 THRU 79 DISPLAYS THE FILE NAME FOR THE SCREEN BEING EDITED.


                               BLOCK COMMANDS
                               --------------

F1 MARK BLOCK BEGIN
-------------------
MARKS THE BEGINNING OF A BLOCK. THE END OF THE MARKED BLOCK IS DEFAULTED TO
COLUMN 80 UNLESS THE F2 MARK BLOCK END KEY IS USED. ONLY 1 LINE OF TEXT CAN BE
MARKED AT TIME. THE LINE AND COLUMNS OF THE MARKED BLOCK ARE DISPLAYED ON LINE
25 COLUMNS 16 THRU 24. COLUMNS 17 AND 18 SHOWS THE MARKED LINE NUMBER. COLUMNS
20 AND 21 DISPLAYS THE BEGINNING COLUMN OF THE MARKED BLOCK. COLUMNS 23 AND 24
DISPLAYS THE ENDING COLUMN NUMBER OF THE MARKED BLOCK.

F2 MARK BLOCK END
-----------------
MARKS THE ENDING OF A BLOCK. ONLY TEXT ON 1 LINE CAN MARKED AT A TIME. THE END
OF A MARKED BLOCK MUST BE ON THE SAME LINE AS THE MARK BLOCK BEGIN AND BE TO
THE RIGHT OF THE BLOCK BEGIN COLUMN ELSE A BEEP WILL SOUND. 

F3 COPY MARKED BLOCK
--------------------
COPIES THE MARKED BLOCK DATA TO THE CURSOR'S LINE AND COLUMN. THE LENGTH OF THE
COPY IS THE SHORTER OF THE LENGTHS; THE MARKED BLOCK, OR 80 MINUS THE CURRENT
CURSOR POSITION. THE SCREEN DISPLAYS HOW THE SCREEN WILL APPEAR IF THE COPY
OPERATION IS PERFORMED. BOTH THE COPY FROM BLOCK AND THE COPY TO AREA OF THE
SCREEN ARE HIGHLIGHTED. TO COMPLETE THE COPY OPERATION ENTER <Y> TO THE COPY
BLOCK MESSAGE. TO ABORT THE COPY OPERATION ENTER <N>.

F4 SWAP MARKED BLOCK
--------------------
SWAPS THE MARKED BLOCK DATA WITH THE DATA STARTING AT THE CURSOR'S LINE AND
COLUMN. THE LENGTH OF THE SWAP IS THE SHORTER OF THE LENGTHS; THE MARKED BLOCK,
OR 80 MINUS THE CURRENT CURSOR'S POSITION. THE SCREEN DISPLAYS HOW THE SCREEN
WILL APPEAR IF THE SWAP OPERATION IS PERFORMED. BOTH THE SWAP FROM BLOCK AND
THE SWAP TO AREA OF THE SCREEN ARE HIGHLIGHTED. TO COMPLETE THE SWAP OPERATION
ENTER <Y> TO THE SWAP MESSAGE. TO ABORT THE SWAP OPERATION ENTER <N>.

LINE SWAP FEATURE  
-----------------
ALLOWS THE USER TO SWAP THE TEXT TO THE LEFT OF THE CURSOR'S POSITION WITH THE
TEXT TO THE RIGHT OF THE CURSOR ON THE SAME LINE. TO USE THIS LINE SWAP FEATURE
POSITION THE CURSOR AT COLUMN 1 OF THE LINE TO SWAP AND PRESS <F1>. MOVE THE
CURSOR TO THE LAST COLUMN OF THE LINE TO BE SWAPPED AND PRESS <F2>. MOVE THE
CURSOR RIGHT 1 COLUMN BY PRESSING THE <RIGHT ARROW> KEY. PRESS <F4> TO PERFORM
THE SWAP. ENTER <Y> TO THE SWAP MESSAGE.

TO SWAP COLUMNS 1 THRU 20 OF LINE 3 WITH COLUMNS 21 THRU 80 OF LINE 3 DO THE
FOLLOWING: 
1. MOVE CURSOR TO LINE 3 COLUMN 1. PRESS <F1> TO MARK THE   
   BLOCK. 
2. MOVE CURSOR TO LINE 3 COLUMN 20 AND PRESS <F2> MARKING 
   THE END OF THE BLOCK. 
3. MOVE THE CURSOR TO LINE 3 COLUMN 21 BY PRESSING THE 
   <RIGHT ARROW> KEY. 
4. PRESS <F4> TO PERFORM THE LINE SWAP. 
5. ENTER <Y> TO THE SWAP HIGHLIGHTED BLOCKS. 

THE DATA FROM COLUMNS 21 THRU 80 WILL BE MOVED TO COLUMNS 1 THRU 60, AND THE
TEXT FROM COLUMNS 1 THRU 20 WILL BE MOVED TO COLUMNS 61 THRU 80.

F5 INSERT LINE
--------------
ALLOWS THE USER TO INSERT A BLANK LINE TO THE LEFT OF THE CURSOR, RIGHT OF THE
CURSOR, OR A COMPLETE BLANK LINE ABOVE THE CURSOR'S LINE. IF THE CURSOR IS AT
COLUMN 1 OR COLUMN 80, ONLY A COMPLETE LINE INSERT IS ALLOWED.  IF THE CURSOR
IS NOT AT COLUMN 1 OR COLUMN 80 THE EDITOR ALLOWS THE USER TO PERFORM A LINE
SPLIT INSERT. ENTERING <L> TO THE INSERT LINE MESSAGE MOVES THE LINE LEFT OF
THE CURSOR POSITION INCLUSIVE DOWN 1 LINE AND A PARTIAL BLANK LINE IS INSERTED.
ENTERING <R> TO THE INSERT LINE MESSAGE MOVES THE LINE RIGHT OF THE CURSOR
POSITION INCLUSIVE DOWN 1 LINE AND A PARTIAL BLANK LINE IS INSERTED. ENTERING
<Y> TO THE INSERT LINE MESSAGE INSERTS A COMPLETE BLANK LINE ABOVE THE CURSOR'S
LINE REGARDLESS OF THE CURSOR'S COLUMN POSITION.

NP
WHEN A LINE IS INSERTED AND THE EDITOR PUSHES LINE 24 OFF OF THE SCREEN, IT
REMAINS IN A BUFFER AND WILL REAPPEAR A IF LINE DELETION IS MADE. A MAXIMUM OF
6 LINES ARE SAVED IN THE BUFFER.

F6 DELETE LINE
--------------
THE F6 FUNCTION KEY ALLOWS THE USER TO DELETE THE LINE TO THE LEFT OF THE
CURSOR, RIGHT OF THE CURSOR, OR THE COMPLETE CURSOR LINE. IF THE CURSOR IS AT
COLUMN 1 OR COLUMN 80, ONLY THE COMPLETE LINE DELETE IS ALLOWED.  IF THE CURSOR
IS NOT AT COLUMN 1 OR COLUMN 80 THE EDITOR ALLOWS THE USER TO DO A SPLIT LINE
DELETION. ENTERING <L> TO THE DELETE LINE MESSAGE DELETES THE LINE LEFT OF THE
CURSOR POSITION INCLUSIVE AND ALL TEXT BELOW IS MOVED UP ONE LINE. ENTERING <R>
DELETES ALL TEXT RIGHT OF THE CURSOR POSITION INCLUSIVE AND MOVES ALL TEXT
BELOW THE CURSOR UP 1 LINE. ENTERING <Y> TO THE DELETE LINE MESSAGE DELETES A
COMPLETE LINE REGARDLESS OF THE CURSOR'S COLUMN POSITION. 

WHEN A LINE IS DELETED AND THE EDITOR MOVES LINE 24 UP A LINE, THE LAST LINE
PUSHED INTO THE BUFFER WILL REAPPEAR.

F7 ZAP
-------
ALLOWS THE USER TO ERASE ALL TEXT ABOVE, BELOW, LEFT OF CURSOR, RIGHT OF
CURSOR, OR ERASE THE CURSOR LINE. THE ZAP FUNCTION DOES NOT DELETE OR INSERT
LINES, IT JUST RESETS THEM TO SPACES. ENTERING <A> WILL ERASE ALL LINES ABOVE,
AND ALL TEXT TO THE LEFT OF THE CURSOR. ENTERING <L> WILL ERASE ALL TEXT TO THE
LEFT OF THE CURSOR INCLUSIVE ON CURSOR LINE ONLY. ENTERING <B> ERASES ALL LINES
BELOW THE CURSOR AND ALL TEXT TO THE RIGHT OF THE CURSOR INCLUSIVE. ENTERING
<Y> WILL ERASE ALL TEXT ON THE CURSOR'S LINE.

F8 JUSTIFY TEXT
---------------
ALLOWS THE USER TO LEFT JUSTIFY, RIGHT JUSTIFY, OR CENTER THE CURSOR'S LINE.
THIS ALLOWS THE USER TO CENTER HEADINGS. PRESS THE <F8> FUNCTION KEY AND ENTER
THE DESIRED OPTION. ENTERING <L> WILL PLACE THE FIRST NONSPACE CHARACTER OF THE
LINE IN COLUMN 1. ENTERING <R> WILL PLACE THE LAST NONSPACE CHARACTER IN COLUMN
80. ENTERING <C> WILL CENTER THE TEXT.

F9 PRINT OR MAP SCREEN
----------------------
ALLOWS THE USER TO PRINT OR MAP THE SCREEN. THE SCREEN CAN BE PRINTED OR MAPPED
TO THE PRINTER OR A DISK FILE. THE DISK FILE OPTIONS PERMITS THE USER TO USE A
SIDEWAYS PRINT PROGRAM, OR LOAD THE SCREEN INTO A WORD PROCESSOR DOCUMENT.

THE <P> PRINT SCREEN OPTION PRINTS THE SCREEN WITH DATE AND TIME AND BORDERS
ABOVE AND BELOW ONLY. THIS ALLOWS THE USER TO PRINT THE SCREEN IN PICA MODE ON
A NARROW CARRIAGE PRINTER. 

THE <B> PRINT OPTION PRINTS A COMPLETE BORDER AROUND THE SCREEN. NARROW
CARRIAGE PRINTERS MUST BE IN ELITE OR COMPRESS PRINT MODE. WIDE CARRIAGE
PRINTERS CAN PRINT THE SCREEN IN PICA. A BOARDER PRINT CONTAINS 82 CHARACTERS.

THE <M> PRINT OPTION OUTPUTS THE SCREEN WITH EACH CHARACTER PRINTED INSIDE A
BOX. THE MAP IS SIMILAR TO CREATING A SCREEN LAYOUT ON A COBOL CODING FORM. TO
PRINT DIRECTLY TO A PRINTER THE PRINTER MUST BE A WIDE CARRIAGE.

IF PRINTING IS SENT TO A DISK FILE, AND A SIDEWAYS PROGRAM IS DESIGNATED IN THE
SCREEN DESIGN CONFIGURATION FILE, SDEDIT ASKS IF THE SIDEWAYS PROGRAM IS TO BE
CALLED AFTER THE SDEDIT PRINT PROCESS IS COMPLETE.

F10 SAVE AND/OR EXIT
--------------------
THE F10 FUNCTION KEYS ALLOWS THE USER TO SAVE THE SCREEN TO DISK AND/OR EXIT
THE PROGRAM. PRESSING ONLY THE <ENTER> KEY AT THE SAVE/EXIT MESSAGE WILL RETURN
THE USER TO THE EDIT SESSION. PRESSING THE <S> KEY INSTRUCTS SDEDIT TO SAVE THE
SCREEN TO DISK AND RETURN TO THE EDIT PROCESS. PRESSING THE <X> KEY INSTRUCTS
SDEDIT TO SAVE THE SCREEN TO DISK AND TO EXIT THE PROGRAM. PRESSING <C> WILL
CAUSE THE PROGRAM TO SAVE THE SCREEN UNDER ANOTHER NAME AND EXIT THE EDIT
SESSION. ENTERING <Q> WILL CAUSE THE PROGRAM TO TERMINATE WITHOUT SAVING THE
SCREEN.

SHIFT F1 "x" FIELD
-------------------
THE SHIFT F1 FUNCTION KEY COMBINATION PERMITS THE USER TO CREATE A FIELD
OF SMALL "x"s. THE SMALL "x" IS USED IN SDCOBOL TO DEFINE A COBOL
ALPHA-NUMERIC FIELD AS COMPARED TO A SCREEN LITERAL. SDEDIT DETERMINES
THE MAXIMUM FIELD SIZE AVAILABLE. PRESSING THE <ENTER> KEY WITHOUT
ENTERING A FIELD SIZE WILL ABORT THE "x" FIELD PROCESS. THE OPERATOR
ALSO HAS A OPTION TO REJECT THE "x" DEFINITION AFTER IT IS DISPLAYED
ON THE SCREEN.

SHIFT F2 FIELD SIZE
--------------------
THE SHIFT F2 FUNCTION KEY IS USED TO DETERMINE THE SIZE OF A FIELD OR
A CHARACTER STRING OF SPACES. THIS FUNCTION IS USED TO MAKE SURE THAT
DEFINED SCREEN FIELDS ARE THE PROPER SIZE. THE FIELD SIZE FUNCTION CAN
ALSO BE USED TO DETERMINE STRING LENGTHS FOR NON COBOL SCREEN DEFINITION.
NP
DEFINING FIELDS FOR SDCOBOL
---------------------------
THE SDCOBOL PROGRAM GENERATES WORKING-STORAGE SCREEN DEFINITIONS FROM A SCREEN
CREATED BY THE SDEDIT PROGRAM. MOST HIGH SPEED MAINFRAME PRINTERS CAN ONLY
PRINT CAPITAL LETTERS THEREFORE, SDCOBOL LOOKS FOR LOWER CASE CHARACTERS FOR
FIELD DEFINITIONS AND CONVERTS THEM AT COBOL SCREEN GENERATION TIME. 

COBOL "X" TYPE ALPHA-NUMERIC FIELDS ARE DEFINED IN THE SCREEN DESIGN PROGRAMS
AS A LOWER CASE "x".

COBOL NUMERIC FIELD ALSO USE LOWER CASE LETTERS AS PART OF THEIR FIELD
DEFINITIONS. BECAUSE THERE IS NO LOWER CASE EQUIVALENT OF THE "9" CHARACTER THE
"#" IS SUBSTITUTED. ALL NUMERIC FIELDS MUST BEGIN WITH ONE THE FOLLOWING
CHARACTERS; "z", "#", OR "$". THE TABLE BELOW SHOWS CHARACTERS ALLOWED IN A
COBOL NUMERIC FIELD.

SYMBOL		DESCRIPTION
----------------------------------------------------------
"#"		NOT ZERO SUPPRESSED NUMERIC CHARACTER
"z"		SUPPRESS LEADING ZERO NUMERIC CHARACTER
"$"		FLOATING DOLLAR SIGN
"."		DECIMAL POINT			
","		COMMA INSERTION CHARACTER
"cr"		CREDIT AMOUNT
"db"		DEBIT AMOUNT		
"+"		POSITIVE AMOUNT
"-"		NEGATIVE AMOUNT
"/"		DATE INSERTION CHARACTER
----------------------------------------------------------


SDCOBOL FIELD DESCRIPTION EXAMPLES
-----------------------------------------------------------
xxxxxxxxxx	TEN CHARACTER ALPHA/NUMERIC FIELD
#####		FIVE CHARACTER NUMERIC FIELD
zzzz#		ZERO SUPPRESSED NUMERIC FIELD
zzz,zz#.##	ZERO SUPPRESSED NUMERIC FIELD WITH DECIMALS
$$$,$$#.##	DOLLAR AMOUNT NUMERIC FIELD
$$$,$$#.##cr	CREDIT DOLLAR AMOUNT
$$$,$$#.##db	DEBIT DOLLAR AMOUNT
zzzzz		BLANK WHEN ZERO NUMERIC FIELD
##/##/##	DATE FIELD
-----------------------------------------------------------

FIELDS NOT FOLLOWING THE ABOVE RESTRICTIONS CAN BE EASY CONVERTED TO COBOL
FIELDS BY USING THE F1 FUNCTION KEY IN SDCOBOL.
NP
                           ***********************
                           * THE SDCOBOL PROGRAM *
                           ***********************

THE SDCOBOL PROGRAM IS USED TO GENERATE COBOL WORKING-STORAGE SECTION SCREEN
LAYOUTS. THE OUTPUT FILE FROM THIS SCREEN GENERATOR CAN BE COPIED INTO A PC
COBOL PROGRAM OR UPLOADED TO A MAINFRAME BY USING A MAINFRAME COMMUNICATION
PROGRAM. SDCOBOL HAS VERY LIMITED SCREEN EDITOR FUNCTIONS.

         SDCOBOL CAN TURN THIS SCREEN INTO THE FOLLOWING COBOL CODE.
--------------------------------------------------------------------------------
PAYID                      PAYROLL EMPLOYEE ID SCREEN                  SCREEN ID

LAST NAME (1) xxxxxxxxxxxxxxxxxxxxxxxx            ASSIGNED SCHOOL (17) zzz#
FIRST NAME (2) xxxxxxxxxxxxxxxxxx                 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
SSN (3) ###-##-####                               PAYCHECK DEST    (18) x xxxx
SEX (4) x                                         xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
DATE OF BIRTH (5) ##-##-#### AGE zz#              NEXT PAYCHECK DEST (19) x xxxx
RACE (6) xx xxxxx                            (21) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                                             (22) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
MAILING (7) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   (23) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ADDRESS (8) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   (24) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
        (9) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   (25) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
       (10) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
STATE  (11) xx ZIP CODE (12) #####-####
HOME PHONE (13) (###) ###-####
EMERGENCY PHONE (14) (###) ###-#### EXT ####
CONTACT NAME (15) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
COMPANY (16) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



ENTER SCREEN ID, FIELD NO TO CHANGE, S TO SELECT, OR X TO EXIT xx


--------------------------------------------------------------------------------

000100* * * * * * * * * * * * * * * * * *
000110 01  PAYID-SCREEN.
000120* * * * * * * * * * * * * * * * * *
000130*
000140     05  PAYID-SCREEN-LINE-1.
000150         10  FILLER PIC X(20) VALUE "PAYID               ".
000160         10  FILLER PIC X(7) VALUE SPACES.
000170         10  FILLER PIC X(20) VALUE "PAYROLL EMPLOYEE ID ".
000180         10  FILLER PIC X(20) VALUE "SCREEN              ".
000190         10  FILLER PIC X(13) VALUE "    SCREEN ID".
000200*
000210     05  PAYID-SCREEN-LINE-2.
000220         10  FILLER PIC X(80) VALUE SPACES.
000230*
000240     05  PAYID-SCREEN-LINE-3.
000250         10  FILLER PIC X(14) VALUE "LAST NAME (1) ".
000260         10  LINE-3-COLUMN-15.
000270             15  CRT-LAST-NAME PIC X(24) VALUE SPACES.
000280         10  FILLER PIC X(12) VALUE SPACES.
000290         10  FILLER PIC X(20) VALUE "ASSIGNED SCHOOL (17)".
000300         10  FILLER PIC X(1) VALUE SPACES.
000310         10  LINE-3-COLUMN-72.
000320             15  CRT-ASSIGNED-SCHOOL-CODE PIC ZZZ9 VALUE ZEROS.
000330         10  FILLER PIC X(5) VALUE SPACES.
000340*
000350     05  PAYID-SCREEN-LINE-4.
000360         10  FILLER PIC X(15) VALUE "FIRST NAME (2) ".
000370         10  LINE-4-COLUMN-16.
000380             15  CRT-FIRST-NAME PIC X(18) VALUE SPACES.
000390         10  FILLER PIC X(17) VALUE SPACES.
000400         10  LINE-4-COLUMN-51.
000410             15  CRT-ASSIGNED-SCHOOL-NAME PIC X(30) VALUE SPACES.
000420*
000430     05  PAYID-SCREEN-LINE-5.
000440         10  FILLER PIC X(8) VALUE "SSN (3) ".
000450         10  LINE-5-COLUMN-9.
000460             15  CRT-SSN-1 PIC 999 VALUE ZEROS.
000470         10  FILLER PIC X(1) VALUE "-".
000480         10  LINE-5-COLUMN-13.
000490             15  CRT-SSN-2 PIC 99 VALUE ZEROS.
000500         10  FILLER PIC X(1) VALUE "-".
000510         10  LINE-5-COLUMN-16.
000520             15  CRT-SSN-3 PIC 9999 VALUE ZEROS.
000530         10  FILLER PIC X(31) VALUE SPACES.
000540         10  FILLER PIC X(20) VALUE "PAYCHECK DEST    (18".
000550         10  FILLER PIC X(2) VALUE ") ".
000560         10  LINE-5-COLUMN-73.
000570             15  CRT-PAYCHECK-DESTINATION-CODE PIC X(1) 
000580                     VALUE SPACES.
000590         10  FILLER PIC X(1) VALUE SPACES.
000600         10  LINE-5-COLUMN-75.
000610             15  CRT-PAYCHECK-DEST-DESC PIC X(4) VALUE SPACES.
000620         10  FILLER PIC X(2) VALUE SPACES.
000630*
000640     05  PAYID-SCREEN-LINE-6.
000650         10  FILLER PIC X(8) VALUE "SEX (4) ".
000660         10  LINE-6-COLUMN-9.
000670             15  CRT-SEX PIC X(1) VALUE SPACES.
000680         10  FILLER PIC X(41) VALUE SPACES.
000690         10  LINE-6-COLUMN-51.
000700             15  CRT-PAYCHECK-DESTN-NAME PIC X(30) VALUE SPACES.
000710*
000720     05  PAYID-SCREEN-LINE-7.
000730         10  FILLER PIC X(18) VALUE "DATE OF BIRTH (5) ".
000740         10  LINE-7-COLUMN-19.
000750             15  CRT-DATE-OF-BIRTH-MONTH PIC 99 VALUE ZEROS.
000760         10  FILLER PIC X(1) VALUE "-".
000770         10  LINE-7-COLUMN-22.
000780             15  CRT-DATE-OF-BIRTH-DAY PIC 99 VALUE ZEROS.
000790         10  FILLER PIC X(1) VALUE "-".
000800         10  LINE-7-COLUMN-25.
000810             15  CRT-DATE-OF-BIRTH-YEAR PIC 9999 VALUE ZEROS.
000820         10  FILLER PIC X(5) VALUE " AGE ".
000830         10  LINE-7-COLUMN-34.
000840             15  CRT-AGE PIC ZZ9 VALUE ZEROS.
000850         10  FILLER PIC X(14) VALUE SPACES.
000860         10  FILLER PIC X(20) VALUE "NEXT PAYCHECK DEST (".
000870         10  FILLER PIC X(4) VALUE "19) ".
000880         10  LINE-7-COLUMN-75.
000890             15  CRT-NEXT-PAYCHECK-DEST-CODE PIC X(1) 
000900                     VALUE SPACES.
000910         10  FILLER PIC X(1) VALUE SPACES.
000920         10  LINE-7-COLUMN-77.
000930             15  CRT-NEXT-PAYCHECK-DEST-DESC PIC X(4) 
000940                     VALUE SPACES.
000950*
000960     05  PAYID-SCREEN-LINE-8.
000970         10  FILLER PIC X(9) VALUE "RACE (6) ".
000980         10  LINE-8-COLUMN-10.
000990             15  CRT-RACE PIC X(2) VALUE SPACES.
001000         10  FILLER PIC X(1) VALUE SPACES.
001010         10  LINE-8-COLUMN-13.
001020             15  CRT-RACE-DESC PIC X(5) VALUE SPACES.
001030         10  FILLER PIC X(28) VALUE SPACES.
001040         10  FILLER PIC X(5) VALUE "(21) ".
001050         10  LINE-8-COLUMN-51.
001060             15  CRT-NEXT-PAYCHECK-DEST-LINE-1 PIC X(30) 
001070                     VALUE SPACES.
001080*
001090     05  PAYID-SCREEN-LINE-9.
001100         10  FILLER PIC X(45) VALUE SPACES.
001110         10  FILLER PIC X(5) VALUE "(22) ".
001120         10  LINE-9-COLUMN-51.
001130             15  CRT-NEXT-PAYCHECK-DEST-LINE-2 PIC X(30) 
001140                     VALUE SPACES.
001150*
001160     05  PAYID-SCREEN-LINE-10.
001170         10  FILLER PIC X(12) VALUE "MAILING (7) ".
001180         10  LINE-10-COLUMN-13.
001190             15  CRT-MAILING-ADDRESS-1 PIC X(30) VALUE SPACES.
001200         10  FILLER PIC X(8) VALUE "   (23) ".
001210         10  LINE-10-COLUMN-51.
001220             15  CRT-NEXT-PAYCHECK-DESTN-LINE-3 PIC X(30) 
001230                     VALUE SPACES.
001240*
001250     05  PAYID-SCREEN-LINE-11.
001260         10  FILLER PIC X(12) VALUE "ADDRESS (8) ".
001270         10  LINE-11-COLUMN-13.
001280             15  CRT-ADDRESS-LINE-1 PIC X(30) VALUE SPACES.
001290         10  FILLER PIC X(8) VALUE "   (24) ".
001300         10  LINE-11-COLUMN-51.
001310             15  CRT-NEXT-PAYCHECK-DEST-LINE-4 PIC X(30) 
001320                     VALUE SPACES.
001330*
001340     05  PAYID-SCREEN-LINE-12.
001350         10  FILLER PIC X(8) VALUE SPACES.
001360         10  FILLER PIC X(4) VALUE "(9) ".
001370         10  LINE-12-COLUMN-13.
001380             15  CRT-ADDRESS-LINE-2 PIC X(30) VALUE SPACES.
001390         10  FILLER PIC X(8) VALUE "   (25) ".
001400         10  LINE-12-COLUMN-51.
001410             15  CRT-NEXT-PAYCHECK-DEST-LINE-5 PIC X(30) 
001420                     VALUE SPACES.
001430*
001440     05  PAYID-SCREEN-LINE-13.
001450         10  FILLER PIC X(7) VALUE SPACES.
001460         10  FILLER PIC X(5) VALUE "(10) ".
001470         10  LINE-13-COLUMN-13.
001480             15  CRT-ADDRESS-LINE-3 PIC X(30) VALUE SPACES.
001490         10  FILLER PIC X(38) VALUE SPACES.
001500*
001510     05  PAYID-SCREEN-LINE-14.
001520         10  FILLER PIC X(12) VALUE "STATE  (11) ".
001530         10  LINE-14-COLUMN-13.
001540             15  CRT-ADDRESS-STATE-CODE PIC X(2) VALUE SPACES.
001550         10  FILLER PIC X(15) VALUE " ZIP CODE (12) ".
001560         10  LINE-14-COLUMN-30.
001570             15  CRT-ADDRESS-ZIP-CODE-1 PIC 99999 VALUE ZEROS.
001580         10  FILLER PIC X(1) VALUE "-".
001590         10  LINE-14-COLUMN-36.
001600             15  CRT-ADDRESS-ZIP-CODE-2 PIC 9999 VALUE ZEROS.
001610         10  FILLER PIC X(41) VALUE SPACES.
001620*
001630     05  PAYID-SCREEN-LINE-15.
001640         10  FILLER PIC X(17) VALUE "HOME PHONE (13) (".
001650         10  LINE-15-COLUMN-18.
001660             15  CRT-HOME-PHONE-AREA-CODE PIC 999 VALUE ZEROS.
001670         10  FILLER PIC X(2) VALUE ") ".
001680         10  LINE-15-COLUMN-23.
001690             15  CRT-HOME-PHONE-1 PIC 999 VALUE ZEROS.
001700         10  FILLER PIC X(1) VALUE "-".
001710         10  LINE-15-COLUMN-27.
001720             15  CRT-HOME-PHONE-2 PIC 9999 VALUE ZEROS.
001730         10  FILLER PIC X(50) VALUE SPACES.
001740*
001750     05  PAYID-SCREEN-LINE-16.
001760         10  FILLER PIC X(20) VALUE "EMERGENCY PHONE (14)".
001770         10  FILLER PIC X(2) VALUE " (".
001780         10  LINE-16-COLUMN-23.
001790             15  CRT-EMERGENCY-PHONE-AREA-CODE
001800                 PIC 999 VALUE ZEROS.
001810         10  FILLER PIC X(2) VALUE ") ".
001820         10  LINE-16-COLUMN-28.
001830             15  CRT-EMERGENCY-PHONE-1 PIC 999 VALUE ZEROS.
001840         10  FILLER PIC X(1) VALUE "-".
001850         10  LINE-16-COLUMN-32.
001860             15  CRT-EMERGENCY-PHONE-2 PIC 9999 VALUE ZEROS.
001870         10  FILLER PIC X(5) VALUE " EXT ".
001880         10  LINE-16-COLUMN-41.
001890             15  CRT-EMERGENCY-EXTENTION PIC 9999 VALUE ZEROS.
001900         10  FILLER PIC X(36) VALUE SPACES.
001910*
001920     05  PAYID-SCREEN-LINE-17.
001930         10  FILLER PIC X(18) VALUE "CONTACT NAME (15) ".
001940         10  LINE-17-COLUMN-19.
001950             15  CRT-EMERGENCY-CONTACT-NAME PIC X(30) 
001960                     VALUE SPACES.
001970         10  FILLER PIC X(32) VALUE SPACES.
001980*
001990     05  PAYID-SCREEN-LINE-18.
002000         10  FILLER PIC X(13) VALUE "COMPANY (16) ".
002010         10  LINE-18-COLUMN-14.
002020             15  CRT-EMERGENCY-CONTACT-COMPANY PIC X(30) 
002030                     VALUE SPACES.
002040         10  FILLER PIC X(37) VALUE SPACES.
002050*
002060     05  PAYID-SCREEN-LINE-19.
002070         10  FILLER PIC X(80) VALUE SPACES.
002080*
002090     05  PAYID-SCREEN-LINE-20.
002100         10  FILLER PIC X(80) VALUE SPACES.
002110*
002120     05  PAYID-SCREEN-LINE-21.
002130         10  FILLER PIC X(80) VALUE SPACES.
002140*
002150     05  PAYID-SCREEN-LINE-22.
002160         10  FILLER PIC X(20) VALUE "ENTER SCREEN ID, FIE".
002170         10  FILLER PIC X(20) VALUE "LD NO TO CHANGE, S T".
002180         10  FILLER PIC X(20) VALUE "O SELECT, OR X TO EX".
002190         10  FILLER PIC X(3) VALUE "IT ".
002200         10  LINE-22-COLUMN-64.
002210             15  CRT-SCREEN-ID-OR-FIELD-CODE PIC X(2) 
002220                     VALUE SPACES.
002230         10  FILLER PIC X(15) VALUE SPACES.
002240*
002250     05  PAYID-SCREEN-LINE-23.
002260         10  FILLER PIC X(80) VALUE SPACES.
002270*
002280     05  PAYID-SCREEN-LINE-24.
002290         10  FILLER PIC X(80) VALUE SPACES.

-------------------------------------------------------------------------------

LOADING SDCOBOL
---------------
THE SDCOBOL PROGRAM CAN BE CALLED FROM THE SDMENU PROGRAM OR FROM THE DOS
PROMPT. WHEN SDCOBOL IS CALLED FROM THE DOS PROMPT, THE DOS COMMAND LINE MUST
CONTAIN THE SUBDIRECTORY INFORMATION REQUIRED FOR SDCOBOL TO FIND THE SCREEN
DESIGN CONFIGURATION FILE. 

EXAMPLES:

     SDCOBOL C:\SD
  OR
     SDCOBOL

NP
IF THE SCREEN DESIGN CONFIGURATION FILE IS IN THE DEFAULT DIRECTORY, NO COMMAND
LINE INFORMATION IS ENTERED. IF SDCOBOL IS UNABLE TO FIND THE SCREEN DESIGN
CONFIGURATION FILE THE USER WILL BE ASKED TO CONTINUE THE EDIT SESSION. 
ENTERING <N> WILL CAUSE THE  SDCOBOL PROGRAM TO TERMINATE,  <Y> WILL CAUSE THE
SDCOBOL TO USE DEFAULT VALUES.

THE SDCOBOL EDITOR
------------------
SDCOBOL'S EDITOR IS VERY LIMITED, IT IS DESIGNED TO MAKE ONLY MINOR CHANGES.
USE SDEDIT TO CREATE AND EDIT YOUR SCREENS. SDCOBOL USES LINE 25 AS IT'S STATUS
LINE. LINE 25 IS ALSO USED FOR DIALOG BETWEEN THE USER AND THE PROGRAM WHEN
FUNCTION KEY OPERATIONS ARE BEING PERFORMED. LINES 1 TO 24 SHOW THE SCREEN
BEING EDITED. 

CURSOR MOVEMENT KEYS
--------------------
THE FOLLOWING TABLE SHOWS THE LIST OF CURSOR MOVEMENT KEYS FOUND IN THE SDCOBOL
PROGRAM:

EDITOR COMMANDS
-----------------------------------------------------------
LEFT ARROW		MOVE CURSOR LEFT 1 CHARACTER
CTRL LEFT ARROW		MOVE CURSOR TO COLUMN 1 OF CURRENT 
			LINE
RIGHT ARROW		MOVE CURSOR RIGHT 1 CHARACTER
CTRL RIGHT ARROW	MOVE CURSOR TO COLUMN 80 OF CURRENT 
			LINE
UP ARROW		MOVE CURSOR UP 1 LINE
DOWN ARROW		MOVE CURSOR DOWN 1 LINE
ENTER KEY		MOVE CURSOR TO COLUMN 1 OF NEXT 
			LINE
HOME KEY		MOVE CURSOR TO LINE 1, CURRENT 
 			COLUMN
END KEY			MOVE CURSOR TO LINE 24, CURRENT 
			COLUMN
BACKSPACE KEY 		DELETE CURRENT CHARACTER AND 
                        MOVE CURSOR LEFT 1 CHARACTER
DELETE KEY		DELETE THE CURRENT CHARACTER
FORWARD TAB             MOVE CURSOR TO 1ST CHARACTER
                        OF THE NEXT WORD
REVERSE TAB             MOVE CURSOR TO 1ST CHARACTER
                        OF THE PREVIOUS WORD (SHIFT TAB)
-----------------------------------------------------------


LINE 25 STATUS LINE

L XX C XX
---------
LINE 25 COLUMNS 2 THRU 10 DISPLAYS THE CURSOR'S LINE AND COLUMN POSITION. 

OVR
---
SDCOBOL ONLY HAS THE OVERSTRIKE OPTION AVAILABLE. 

1CBLFLD THRU 10EXIT
-------------------
LINE 25 COLUMNS 16 THRU 65 DISPLAYS THE HELP MENU FOR FUNCTION KEY PROCESSES EXPLAINED BELOW.

FUNCTION KEY TABLE
----------------------------------------------------------
F1	CONVERT CHARATER-STRING STARTING AT CURSOR POSITION TO A COBOL FIELD
F2	CONVERT COBOL FIELD STARTING AT CURSOR POSITION TO A SCREEN 
	LITERAL
F3	CHANGE COBOL FIELD NAME OF TEXT AT CURSOR POSITION 
F4	CHANGE COBOL 01 RECORD LEVEL SCREEN NAME
F5	CLEAR COBOL SCREEN AND ALL FIELD NAMES
F6	GENERATE COBOL SCREEN DEFINITION
F7	CALL UPLOAD COMMUNICATION PROGRAM
F10	SAVE SCREEN / EXIT PROGRAM


XXXXXXXX.XXX
------------
LINE 25 COLUMN 67 THRU 79 DISPLAYS THE FILE NAME FOR THE SCREEN BEING EDITED.

                                FUNCTION KEYS
                                -------------

F1 CONVERT TEXT TO COBOL FIELD
------------------------------
CONVERTS THE CHARACTER-STRING STARTING AT THE CURRENT CURSOR POSITION TO A
COBOL FIELD. SDCOBOL CONVERSION STOPS AT THE END OF THE LINE OR WHEN A
NONCONVERTIBLE CHARACTER IS ENCOUNTERED. THE FOLLOWING TABLE LISTS SDCOBOL
FIELD CHARACTERS AND CONVERSION. ALL COBOL FIELD CHARACTER-STRINGS ARE
HIGHLIGHTED ON COLOR MONITORS AND UNDERLINED ON MONOCHROME MONITORS.

COBOL "X" TYPE ALPHANUMERIC FIELDS ARE DEFINED IN THE SCREEN DESIGN PROGRAMS AS
A LOWER CASE "x".

COBOL NUMERIC FIELDS ALSO USE LOWER CASE LETTERS AS PART OF THEIR FIELD
DEFINITIONS. BECAUSE THERE IS NO LOWER CASE EQUIVALENT OF THE "9" CHARACTER THE
"#" IS SUBSTITUTED. ALL NUMERIC FIELDS MUST BEGIN WITH ONE THE FOLLOWING
CHARACTERS; "z", "#", OR "$". 

THE REASON LOWER CASE CHARACTERS AND THE "#" ARE USED TO DEFINE COBOL FIELDS IS
TO MAKE THE SCREENS DESIGNED BY THIS SOFTWARE AS GENERIC AS POSSIBLE. IF THERE
WERE CONTROL CODES IMBEDDED IN THE SCREEN LAYOUT DISK FILES THEY COULD PRODUCE
UNEXPECTED RESULTS WHEN LOADED INTO WORD PROCESSORS OR PRINTED.

NP
THE TABLE BELOW SHOWS CHARACTERS ALLOWED IN A COBOL NUMERIC FIELD.

SCREEN    COBOL
TEXT      FIELD    DESCRIPTION
----------------------------------------------------------
"X"	  "x"	  ALPHANUMERIC FIELD
"9"	  "#"	  NOT ZERO SUPPRESSED NUMERIC CHARACTER
"Z"	  "z"	  SUPPRESS LEADING ZERO NUMERIC CHARACTER
"$"	  "$"	  FLOATING DOLLAR SIGN
"."	  "."	  DECIMAL POINT			
","	  ","	  FLOATING COMMA
"CR"	  "cr"	  CREDIT AMOUNT
"DB"	  "db"	  DEBIT AMOUNT		
"+"	  "+"	  POSITIVE AMOUNT
"-"	  "-"	  NEGATIVE AMOUNT
"/"	  "/"	  DATE SEPARATION CHARACTER
-----------------------------------------------------------


SDCOBOL FIELD DESCRIPTION EXAMPLES
-----------------------------------------------------------
xxxxxxxxxx	TEN CHARACTER ALPHA/NUMERIC FIELD
#####		FIVE CHARACTER NUMERIC FIELD
zzzz#		ZERO SUPPRESSED NUMERIC FIELD
zzz,zz#.##	ZERO SUPPRESSED NUMERIC FIELD WITH DECIMALS
$$$,$$#.##	DOLLAR AMOUNT NUMERIC FIELD
$$$,$$#.##-     CREDIT DOLLAR AMOUNTS
$$$,$$#.##cr	
$$$,$$#.##+     DEBIT DOLLAR AMOUNTS
$$$,$$#.##db	
zzzzz		BLANK WHEN ZERO NUMERIC FIELD
##/##/##	DATE FIELD
-----------------------------------------------------------

F2 CONVERT COBOL FIELD TO SCREEN TEXT
-------------------------------------
CONVERTS COBOL FIELD CHARACTERS STARTING AT THE CURRENT CURSOR POSITION TO A
SCREEN CHARACTER-STRING. SDCOBOL CONVERSION STOPS AT THE END OF THE LINE OR
WHEN A NONCONVERTIBLE CHARACTER IS ENCOUNTERED. THE TABLE ABOVE LISTS SDCOBOL
FIELD CHARACTERS AND CONVERSIONS. SCREEN CHARACTER-STRINGS ARE DISPLAYED IN
NORMAL VIDEO.


F3 CHANGE COBOL FIELD NAME
--------------------------
CHANGES THE COBOL FIELD NAME FOR THE CHARACTER STRING AT THE CURRENT CURSOR
POSITION. TO REMOVE AN EXISTING COBOL FIELD NAME, TYPE IN THE WORD <CLEAR>.
SDCOBOL WILL KEEP THE EXISTING FIELD NAME IF THE <ENTER> KEY IS PRESSED WITHOUT
ENTERING A NEW FIELD NAME OR THE WORD <CLEAR>. COBOL FIELD NAMES ARE CHECKED
FOR VALID SYNTAX. IT IS NOT NECESSARY FOR FIELD NAMES TO BE ENTERED BEFORE THE
F6 SCREEN GENERATION IS PERFORMED. SDCOBOL WILL PROMPT FOR EACH FIELD NAME
DURING THE SCREEN GENERATION PROCESS.

NP
F4 CHANGE COBOL SCREEN NAME
---------------------------
CHANGES THE COBOL 01 RECORD LEVEL NAME FOR THE SCREEN. TO REMOVE THE EXISTING
SCREEN NAME, TYPE THE WORD <CLEAR>. SDCOBOL WILL KEEP THE EXISTING SCREEN NAME
IF THE <ENTER> KEY IS PRESSED WITHOUT ENTERING A NEW SCREEN NAME OR THE WORD
<CLEAR>. SCREEN FIELD NAME IS CHECKED FOR VALID SYNTAX. MAXIMUM LENGTH OF
SCREEN NAME IS 23 CHARACTERS. SDCOBOL APPENDS THE CHARACTER-STRING "-SCREEN" TO
THE SCREEN NAME. EACH LINE WITHIN THE 01 RECORD LEVEL HAS THE SCREEN NAME  AND
"-LINE-XX" WITH "XX" BEING THE SCREEN LINE NUMBER. THIS ALLOWS THE PROGRAMMER
TO EASILY DISPLAY ONE LINE AT A TIME IF MULTIPLE SCREENS ARE USED WITHIN ONE
PROGRAM. THE SCREEN NAME IS NOT REQUIRED BEFORE THE F6 SCREEN GENERATION IS
PERFORMED.

F5 CLEARS COBOL SCREEN NAME AND FIELD NAMES.
--------------------------------------------
CLEARS ALL COBOL FIELD NAMES AND THE COBOL 01 RECORD LEVEL SCREEN NAME.

F6 GENERATE COBOL SCREEN DEFINITION
-----------------------------------
THIS IS THE BREAD AND BUTTER FUNCTION OF THE SDCOBOL PROGRAM. AFTER PROMPTING
FOR THE OUTPUT FILE NAME, SDCOBOL GENERATES THE COBOL WORKING-STORAGE 01 SCREEN
DEFINITION. THE OUTPUT FILE FROM THIS SCREEN GENERATOR CAN BE COPIED INTO A PC
COBOL PROGRAM OR UPLOADED TO A MAINFRAME BY USING A MAINFRAME COMMUNICATION
PROGRAM.

DURING THE COBOL SCREEN GENERATION PROCESS THE USER IS SHOWN THE PREVIOUS ENTRY
FOR THE OUTPUT FILENAME, SCREEN NAME, AND ALL COBOL FIELD NAMES. BY PRESSING
ONLY THE <ENTER> KEY THE PROGRAM WILL USE THESE PREVIOUSLY ENTERED VALUES. THIS
FEATURE ALLOWS A USER TO QUICKLY REGEN A SCREEN IF AN ERROR HAS BEEN MADE. THE
USER CAN HALT THE SCREEN GENERATION PROCESS BY ENTERING <ABORT> TO THE SCREEN
NAME OR FIELD NAME PROMPT.

THE USER CAN SPECIFY A FILE NAME OF "PRN" IF PRINTER OUTPUT IS DESIRED FOR
MANUAL ENTRY INTO A PROGRAM.

THE SCREEN NAME AND COBOL FIELD NAMES ARE VALIDATED FOR CORRECT COBOL SYNTAX
WHEN ENTERED. THE COBOL FIELD CHARACTER-STRING IS HIGHLIGHTED WHEN SDCOBOL
REQUESTS THE COBOL FIELD NAME. 

SCREEN CONTROL CODES CAN BE GENERATED FOR THE ANSI.SYS SCREEN DRIVER OR FOR THE
NCR 796-101 TTY TERMINAL. SEE SDCONFIG INSTRUCTIONS FOR IMPLEMENTATION OF THIS
FEATURE.

F7 CALL COMMUNICATION PROGRAM
-----------------------------
BY PRESSING THE <F7> FUNCTION KEY THE USER CAN UPLOAD THE SCREEN DEFINITION
SAVED ON DISK DURING A SDCOBOL SESSION. THE USER CAN ENTER THE UPLOAD PROGRAM
TO CALL IN THE SDCONFIG PROGRAM. ALTHOUGH THERE IS A NCR 796-101 COMMUNICATION
PROGRAM INCLUDED IN THE SCREEN DESIGN SOFTWARE PACKAGE, THE USER CAN USE OTHER
UPLOAD SOFTWARE.

NP
F10 SAVE AND/OR EXIT
--------------------
THE F10 FUNCTION KEYS ALLOWS THE USER TO SAVE THE SCREEN TO DISK AND/OR EXIT
THE PROGRAM. PRESSING ONLY THE <ENTER> KEY AT THE SAVE/EXIT MESSAGE WILL RETURN
THE USER TO THE EDIT SESSION. PRESSING THE <S> KEY INSTRUCTS SDCOBOL TO SAVE
THE SCREEN TO DISK AND RETURN TO THE EDIT PROCESS. PRESSING THE <X> KEY
INSTRUCTS SDCOBOL TO SAVE THE SCREEN TO DISK AND TO EXIT THE PROGRAM. PRESSING
<C> WILL CAUSE THE PROGRAM TO SAVE THE SCREEN UNDER ANOTHER NAME AND EXIT THE
EDIT SESSION. ENTERING <Q> WILL CAUSE THE PROGRAM TO EXIT WITHOUT SAVING THE
SCREEN.

BECAUSE SDCOBOL GENERATES CLEAN COBOL SCREEN DEFINITIONS SDCOBOL WILL NOT SAVE
THE COBOL SCREEN NAME OR FIELD NAMES.

NP
                          ************************
                          * THE SDCONFIG PROGRAM *
                          ************************

THE SDCONFIG PROGRAM IS USED TO CONFIGURE THE OPTIONS WITHIN THE SCREEN DESIGN
PROGRAMS. ALL SCREEN DESIGN PROGRAMS USE DEFAULT SETTINGS IF THE CONFIGURATION
FILE IS NOT CREATED.

THE SDCONFIG PROGRAM CREATES "SDCOLOR.CFG" FOR COLORED MONITORS OR "SDMONO.CFG"
FOR MONOCHROME MONITORS. HAVING A SEPARATE FILE FOR EACH TYPE OF MONITOR ALLOWS
USERS WITH A MONOCHROME MONITOR RUNNING COLOR SOFTWARE TO CHANGE THE SCREEN
COLORS FOR CORRECT SHADING. THE NAME OF THE CONFIGURATION FILE BEING CREATED OR
EDITED APPEARS IN THE UPPER RIGHT HAND CORNER OF THE SCREEN.

THE SDCONFIG PROGRAM CAN BE CALLED FROM THE SDMENU PROGRAM OR FROM THE DOS
PROMPT. WHEN SDCONFIG IS CALLED FROM THE DOS PROMPT, THE DOS COMMAND LINE MUST
CONTAIN THE SUBDIRECTORY INFORMATION REQUIRED FOR SDCONFIG TO FIND THE SCREEN
DESIGN CONFIGURATION FILE. 

EXAMPLES:

     SDCONFIG C:\SD
  OR
     SDCONFIG

IF THE SCREEN DESIGN CONFIGURATION FILE IS IN THE DEFAULT DIRECTORY, NO COMMAND
LINE INFORMATION IS ENTERED. IF SDCONFIG IS UNABLE TO FIND THE SCREEN DESIGN
CONFIGURATION FILE THE USER WILL BE ASKED TO CONTINUE THE CONFIGURATION
SESSION.  ENTERING <N> WILL CAUSE THE  SDCONFIG PROGRAM TO TERMINATE,  <Y> WILL
CAUSE THE SDCONFIG TO USE DEFAULT VALUES.

IF THE CONFIGURATION FILE IS NOT FOUND IN THE DEFAULT SUBDIRECTORY THE USER
MUST INCLUDE THE PATH FOR THE CONFIGURATION FILE IN THE COMMAND LINE WHEN
EXECUTING ANY SCREEN DESIGN PROGRAM, EXCEPT SDCONFIG.

ALL BUT THREE ENTRIES IN THE CONFIGURATION FILE ARE TOGGLED TO THEIR DIFFERENT
SETTINGS BY PRESSING THE CORRESPONDING FUNCTION KEY. THE THREE ENTRIES WHICH
REQUIRE MANUAL ENTRIES ARE; SIDEWAYS PRINT PROGRAM TO USE F9, COMMUNICATION
UPLOAD PROGRAM TO CALL CTRL F5, AND CHARACTER DELAY COUNTER ALT F4.

SCREEN COLORS
-------------
THE <F1> THRU <F7> KEYS AND <SHIFT F1> THRU <SHIFT F7> ALLOW THE USER TO CHANGE
THE COLORS FOR THE DIFFERENT PROCEDURES. WHEN USED ON A MONOCHROME MONITOR THE
<SHIFT F1> THRU <SHIFT F7> KEYS ARE DISABLED BECAUSE OF THE LIMITED NUMBER OF
SCREEN ATTRIBUTE OPTIONS AVAILABLE. 

PRINTER TYPE F8
---------------
ALLOWS THE USER TO ALTERNATE BETWEEN THE THREE SUPPORTED PRINTER TYPES. "NCR"
CONFIGURES THE SCREEN DESIGN PROGRAMS TO SUPPORT A NCR 6411 OR C.ITOH 8510B
PRINTERS. "EPSON" CONFIGURES THE PROGRAMS FOR EPSON COMPATIBLE PRINTERS. "IBM"
CONFIGURES THE PROGRAMS FOR IBM PROPRINTER COMPATIBLE PRINTERS. 

SIDEWAYS PROGRAM F9
-------------------
THE F9 FUNCTION KEY ALLOWS THE USER TO ENTER A SIDEWAYS PRINT PROGRAM TO CALL
FROM SDEDIT AFTER CREATING A DISK FILE. THE PC MUST HAVE ENOUGH RAM MEMORY FOR
BOTH THE SDEDIT PROGRAM AND THE SIDEWAYS PRINT PROGRAM TO USE THIS FEATURE.
THIS FEATURE ALLOWS NARROW CARRIAGE PRINTERS TO PRINT SCREEN MAPS SIDEWAYS. 

SCREEN CONTROL CODES CTRL F1
----------------------------
HOLDING DOWN THE CTRL KEY TO THE LEFT OF THE "A" KEY  AND PRESSING THE <F1>
WILL TOGGLE THE DIFFERENT SCREEN CONTROL CODES OPTIONS AVAILABLE IN SDCOBOL. 

IF "NONE" IS USED NO CONTROL CODES WILL BE GENERATED DURING A COBOL WORKING-
STORAGE SCREEN GENERATION PROCESS. MANY COBOL COMPILERS DISPLAY COMMANDS ALLOW
THE USER TO CONTROL LINE AND COLUMN OF DATA BEING DISPLAYED IN ADDITION TO
ERASING THE SCREEN. THESE COMPILERS DO NOT NEED CONTROL CODES INSERTED INTO THE
WORKING-STORAGE SCREEN DEFINITIONS.

SOME COBOL COMPILERS REQUIRE "ANSI.SYS" CONTROL CODES TO BE INSERTED INTO THE
WORKING-STORAGE SCREEN DEFINITIONS. THE SDCOBOL  "ANSI.SYS" OPTION WILL GENER
ATE THESE CONTROL CODES. 

THE "NCR 796-101" OPTION WILL CREATE SCREEN CONTROL CODES FOR THE SCREEN IN
SDCOBOL. SINCE THE SEND AND RECEIVE INSTRUCTIONS IN NCR VRX COBOL HAS NO BUILT
IN CURSOR CONTROL FUNCTIONS, THIS FEATURE IS VERY USEFUL.

SDCOBOL ONLY GENERATES ERASE SCREEN AND BEGINNING OF LINE CONTROL CODES. THE
AUTHOR HAS WRITTEN MANY ONLINE PROGRAMS AND HAS FOUND THAT DISPLAYING/SENDING
EITHER THE COMPLETE SCREEN OR A LINE AT A TIME WORKS WELL.

SOURCE CODE RECORD SIZE CTRL F2
-------------------------------
HOLDING DOWN THE CTRL KEY AND PRESSING THE <F2> WILL TOGGLE THE COBOL SOURCE
CODE RECORD SIZE 80 OPTION OFF AND ON. IF SOURCE COBOL RECORD SIZE EQUALS 80 IS
"YES" THEN SDCOBOL WILL ADD TRAILING SPACES TO EACH SOURCE CODE LINE SO THE 
RECORD SIZE IS ALWAYS 80 CHARACTERS. IF SOURCE CODE RECORD SIZE 80 OPTION IS
"NO " THEN EACH RECORD WILL NOT HAVE ANY TRAILING SPACES ADDED, AND THE RECORD
SIZE WILL ALWAYS BE LESS THAN 73 CHARACTERS.

IF "SDCOM" PROGRAM IS BEING USED TO UPLOAD THE COBOL SOURCE CODE INTO A
MAINFRAME, AND THE RECORDS PER SDCOM UPLOAD BLOCK IS GREATER THAN 1 THEN SDCOM
WILL ADD TRAILING SPACES TO EACH RECORD AT UPLOAD TIME SO EACH RECORD IS ALWAYS
80 CHARACTERS. SEE RECORDS PER SDCOM UPLOAD BLOCK DESCRIPTION BELOW.

COMMUNICATION UPLOAD PROGRAM TO CALL CTRL F3
--------------------------------------------
THE <CTRL F3> FUNCTION KEY ALLOWS THE USER TO ENTER A PC COMMUNICATION PROGRAM
TO CALL FROM THE SDCOBOL PROGRAM. THIS ALLOWS THE USER TO IMMEDIATELY UPLOAD
COBOL SCREEN DEFINITIONS DURING A SDCOBOL SESSION. THE PC MUST HAVE ENOUGH RAM
MEMORY FOR BOTH THE SDCOBOL PROGRAM AND THE COMMUNICATION PROGRAM TO USE THIS
FEATURE. 

NP
THE SDCOM PROGRAM INCLUDED IN THIS SCREEN DESIGN SOFTWARE CAN BE REPLACED BY
MANY EXCELLENT COMMUNICATION PROGRAMS.  SDCOM WAS DESIGNED TO UPLOAD COBOL
SOURCE CODE TO A MAINFRAME USING THE STANDARD SOURCE CODE EDITORS SUCH AS VRX'S
OLPD. IF THE USER IS GOING TO DO NUMEROUS FILE TRANSFERS BETWEEN THE MAINFRAME
AND A PC THE AUTHOR RECOMMENDS THE SOFTWARE PACKAGE "ANZIO" FROM RASMUSSEN AND
ASSOCIATES, 4838 SW HAMILTON CT., PORTLAND, OREGON 97221, PHONE 503-244-8516.

                                    SDCOM
                                    =====

THE FOLLOWING ENTRIES CONFIGURE SDCOM PROGRAM ONLY. IF YOU ARE NOT USING SDCOM
PROGRAM TO COMMUNICATE WITH A MAINFRAME, THEN ALL FIELDS DEFINED BELOW WILL NOT
BE USED.

RECORDS PER SDCOM UPLOAD BLOCK CTRL F4
--------------------------------------
SDCOM ALLOWS THE USER TO UPLOAD UP TO 100 EIGHTY CHARACTER SOURCE CODE LINES AT
A TIME. THIS FEATURE WAS DESIGNED FOR NCR'S VRX OPERATING SYSTEM. NCR'S VRX
COBOL RECEIVE ALLOWS THE PC TO SEND UP TO 9999 BYTES IN ONE TRANSMISSION.
TRANSMITTING MORE THAN 1 RECORD AT A TIME REQUIRES A SPECIAL PROGRAM ON THE
MAINFRAME TO SEPARATE THE RECORDS AND WRITE THEM TO DISK.

TO UPLOAD SOURCE CODE INTO A SOURCE CODE EDITOR LIKE NCR'S OLPD THE USER SHOULD
CONFIGURE SDCOBOL FOR "SOURCE CODE RECORD SIZE = 80" TO "NO", <CTRL F2>, AND
"RECORDS PER SDCOM UPLOAD BLOCK" TO "1".

AUTO LINE FEED AFTER CARRIAGE RETURN IN SDCOM CTRL F5
-----------------------------------------------------
ALLOWS THE USER TO CONFIGURE SDCOM TO MOVE THE CURSOR DOWN TO THE BEGINNING OF
THE NEXT LINE WHEN A CARRIAGE RETURN IS RECEIVED FROM THE KEYBOARD. IF THIS
OPTION IS SET TO "NO", WHEN A CARRIAGE RETURN IS ENTERED FROM THE KEYBOARD THE
CURSOR IS MOVED TO COLUMN 1 OF THE SAME LINE.

IF THE SCREEN TEXT IS BEING DOUBLE SPACED WHEN USING SDCOM, THIS FEATURE SHOULD
BE SET TO "NO ". IF TEXT IS BEING WRITTEN OVER THE TOP OF THE PREVIOUS LINE'S
DATA, THIS FEATURE NEEDS TO BE SET TO "YES".

WAIT TO SEND AFTER CARRIAGE RETURN IN SDCOM CTRL F6
---------------------------------------------------
THIS FEATURE FORCES SDCOM TO WAIT FOR A CLEAR TO SEND CHARACTER FROM THE
MAINFRAME AFTER A CARRIAGE RETURN IS ENTERED FROM THE KEYBOARD OR A BLOCK OF
DATA SENT. 

MOST OF NCR'S "I SYSTEMS" USE KEYBOARD LOCK / UNLOCK  PROTOCOL FOR TERMINAL
COMMUNICATIONS. BY USING THE <ALT F10> DEFINED BELOW THE USER CAN SPECIFY WHICH
CONTROL CODE FROM THE MAINFRAME CLEARS THE WAIT TO SEND STATUS. THE WAIT TO
SEND STATUS WILL ALWAYS BE CLEARED IF A "BEL" CHARACTER (HEX 07) IS RECEIVED
FROM THE MAINFRAME. PRESSING THE <F4> FUNCTION KEY IN THE SDCOM PROGRAM WILL
ALSO CLEAR THE WAIT TO SEND STATUS.

NCR'S "VRX SYSTEMS" DO NOT USE KEYBOARD LOCKING SO THE WAIT TO SEND STATUS
AFTER CARRIAGE RETURN SHOULD NOT BE USED.

NP
BAUD RATE CTRL F7
-----------------
DETERMINES TRANSMISSION SPEED BETWEEN THE MAINFRAME AND THE SDCOM PROGRAM. THE
BAUD RATE CAN BE FROM 1200 BAUD TO 19200 BAUD. DIVIDING THE BAUD RATE BY TEN
GIVES AN ESTIMATE OF HOW MANY CHARACTERS ARE TRANSFERRED PER SECOND. 

IF YOU ARE USING AN IBM-XT COMPATIBLE RUNNING AT 4.77 MHZ SDCOM MAY NOT BE ABLE
TO KEEP UP WHEN RECEIVING DATA FROM THE MAINFRAME. THERE ARE SEVERAL OPTIONS
AVAILABLE TO CORRECT THIS PROBLEM. THE FIRST, IS TO REDUCE THE BAUD RATE AT
WHICH THE PC AND MAINFRAME ARE COMMUNICATING. THE SECOND, IS TO PUT A FASTER
PROCESSOR IN THE PC, SUCH AS INSTALLING A 80286 PROCESSOR CARD INTO THE PC OR
REPLACING THE 8088 PROCESSOR CHIP WITH A NEC V20 PROCESSOR CHIP. THE V20 CHIP
CAN BE PURCHASED FOR LESS THAN $ 15.00. THE THIRD IS TO PURCHASE A DIFFERENT
COMMUNICATION PROGRAM SUCH AS "ANZIO".

PARITY CTRL F8, DATA BITS CTRL F9 AND STOP BITS F10
---------------------------------------------------
THESE FIELDS DETERMINE THE FORMAT OF DATA BEING TRANSFERRED BETWEEN THE
MAINFRAME AND THE PC. IF YOU ARE UNSURE OF HOW TO USE THESE PARAMETERS, REFER
TO THE NCR 7900 INFORMATION MANUAL OR CONTACT YOUR NCR FE.

THE 2 MOST COMMONLY FOUND SETUPS ARE:

      8 DATA BITS, NO PARITY, AND 1 STOP BIT,
   OR
      7 DATA BITS, EVEN PARITY, AND 1 STOP BIT.

COM PORT ID ALT F1
------------------
IBM PC COMPATIBLES WERE DESIGNED TO SUPPORT A RS-232 COM PORT 1 THRU COM PORT
4. GENERALLY THE COM PORT 1 IS USED UNLESS A RS-232 PRINTER OR PLOTTER IS USED.
PRESSING THE <ALT F1> WILL TOGGLE SDCONFIG BETWEEN THESE TWO PORTS.

KEYBOARD ECHO ALT F2
--------------------
CONTROLS WHETHER THE CHARACTERS TYPED ON THE KEYBOARD DISPLAY IMMEDIATELY ON
THE SCREEN OR IF SDCOM WAITS FOR THE MAINFRAME TO ECHO THE CHARACTER BACK TO
THE PC TO DISPLAY. NCR 7900 TERMINALS DISPLAY ON THE STATUS LINE 25 WHETHER
THEY ARE IN "FULL" OR "HALF DUPLEX". 

FULL DUPLEX WAITS FOR THE MAINFRAME TO SEND THE CHARACTER BACK TO THE PC BEFORE
IT IS DISPLAYED ON THE SCREEN. HALF DUPLEX DISPLAYS THE TYPED IN CHARACTERS
BEFORE THEY ARE SENT TO THE MAINFRAME, AND THE MAINFRAME DOES NOT ECHO THE
CHARACTER BACK TO THE PC.

WHEN ENTERING TEXT IN SDCOM, IF EACH CHARACTER APPEARS TWICE ON THE SCREEN IT
MEANS THAT FULL DUPLEX IS BEING USED, AND KEYBOARD ECHO SHOULD BE SET "NO". IF
NO CHARACTERS APPEAR ON THE SCREEN WHEN ENTERING TEXT THE KEYBOARD ECHO SHOULD
BE SET TO "YES".

FILE UPLOADS ARE MUCH FASTER IF THE ECHO KEYBOARD CHARACTER OPTION IS SET TO
"YES", BECAUSE SDCOM DOES NOT WAIT FOR THE CHARACTER TO BE ECHOED BACK TO THE
PC BEFORE THE NEXT CHARACTER IS SENT TO THE MAINFRAME.


LINE DELAY F3
-------------
THE LINE DELAY IS USED TO INCREASE THE TIME BETWEEN FILE UPLOAD TRANSMISSIONS.
THE LINE DELAY TIME CAN BE SET FROM 1  TO 9 SECONDS. THE LINE DELAY ALLOWS TIME
FOR THE MAINFRAME TO SWITCH FROM SEND MODE TO RECEIVE MODE. IT WILL ALSO ALLOW
THE MAINFRAME TIME TO PROCESS DATA FROM THE PC'S LAST TRANSMISSION IF NO
COMMUNICATION PROTOCOL IS BEING USED TO CONTROL FILE UPLOAD.

NCR'S OLPD DOES NOT USE ANY PROTOCOLS TO CONTROL DATA TRANSMISSION. A LINE
DELAY SHOULD BE ENTERED TO ALLOW OLPD TO PROCESS THE PREVIOUS TRANSMISSION. IF
CHARACTERS ARE MISSING FROM THE BEGINNING OF UPLOADED LINE THEN THE LINE DELAY
TIME NEEDS TO BE INCREASED. 

CHARACTER DELAY ALT F4
----------------------
CONTROLS THE TIME BETWEEN TRANSFER OF CHARACTERS; THIS TIME DELAY VARIES
DEPENDING ON THE SPEED OF THE PC'S PROCESSOR. IT GIVES THE MAINFRAME TIME TO
PROCESS THE PREVIOUS CHARACTER. OLDER CLC/MLA ADAPTERS ON NCR 8500 PROCESSORS
COULD NOT RECEIVE A FILE TRANSFER BLOCK OF DATA AT 9600 BAUD. IT ALSO ALLOWS
THE PC TIME TO PROCESS A ECHOED CHARACTER IF USING FULL DUPLEX COMMUNICATION
PROTOCOL.

BACKSPACE ALT F5
----------------
DETERMINES IF THE CODE SENT TO THE MAINFRAME BY SDCOM IS A HEXADECIMAL 08 (BS)
OR A HEXADECIMAL 21 (NAK). NCR 796-101 TERMINALS USE THE HEXADECIMAL CHARACTER
21 (NAK). MODEMS REQUIRE THE BACKSPACE CHARACTER TO BE A HEXADECIMAL 08 (BS) TO
WORK CORRECTLY.

PRINTER ON ALT F6 AND PRINTER OFF ALT F7
----------------------------------------
THE PRINTER ON AND PRINTER OFF CONTROL CODES DETERMINE IF THE DATA BEING
RECEIVED FROM THE MAINFRAME IS SENT TO THE PC PRINTER "PRN" DEVICE. IF THERE IS
A PRINTER ON CODE THEN THERE MUST ALSO BE A PRINTER OFF CODE. DATA RECEIVED
AFTER THE PRINTER ON CONTROL CODE IS SENT TO THE PRINTER UNTIL THE PRINTER OFF
CONTROL CODE IS RECEIVED. THE PRINTER ON AND PRINTER OFF CONTROL CODES ARE NOT
DISPLAYED OR SENT TO THE PRINTER.

THE NCR 796-101 AND 7900 TERMINALS USE THE HEXADECIMAL CHARACTER 12 (DC2) FOR
PRINTER ON AND HEXADECIMAL CHARACTER 14 (DC4) FOR PRINTER OFF. UP TO 32,000
BYTES MAY BE SENT BETWEEN THE PRINTER ON AND PRINTER OFF CONTROL CODES. THE
PRINTER ON AND PRINTER OFF CONTROL CODES CAN BE THE SAME CODE. THE FIRST CODE
WOULD TURN THE PRINTER ON AND THE SECOND CODE TURNS THE PRINTER OFF.

PRINTER DONE ALT F8
-------------------
THIS CODE IS SENT TO THE MAINFRAME AFTER THE PC HAS SENT THE LAST CHARACTER TO
BE PRINTED TO THE PRINTER. THE PRINTER DONE CHARACTER IS NOT REQUIRED IF THE
PRINTER ON/OFF FEATURE IS BEING USED. IF A PRINTER DONE CHARACTER IS DEFINED,
THE PC WILL WAIT FOR THE LINE DELAY TIME PERIOD (ALT F3) BEFORE SENDING THE
MAINFRAME PRINTER DONE CONTROL CODE SO THAT THE MAINFRAME HAS TIME TO SWITCH
IT'S RS-232 ADAPTER INTO RECEIVE MODE. THIS TIME DELAY MAY BE REQUIRED WHEN
USING PRINTERS WITH LARGE BUFFERS.

UNDER NCR'S VRX OPERATING SYSTEM, THE MAINFRAME ONLY RECOGNIZES THE  CARRIAGE
RETURN CHARACTER (HEXADECIMAL 0D), END OF TRANSMISSION CHARACTER (HEXADECIMAL
04), AND BEL CHARACTER (HEXADECIMAL 07) AS TRANSMISSION TERMINATORS. VRX WILL
NOT RELEASE DATA RECEIVED TO THE MAINFRAME PROGRAM UNTIL ONE OF THESE CODES IS
RECEIVED. IF THE PRINTER DONE CODE IS NOT ONE OF THESE CHARACTERS, SDCOM WILL
TRANSMIT A CARRIAGE RETURN TO THE MAINFRAME AFTER THE PRINTER DONE CODE IS
SENT. THE PROGRAM RUNNING ON THE MAINFRAME CAN BE PROGRAMED TO WAIT UNTIL IT
RECEIVES THE PRINTER DONE CHARACTER. BY USING THIS SOFTWARE PROTOCOL, THE
MAINFRAME CAN WAIT FOR THE PC PRINTER TO FINISH BEFORE SENDING MORE DATA TO THE
PC OR PRINTER. IF THE PRINTER RUNS OUT OF PAPER OR IS NOT READY WHEN DATA IS
SENT TO IT BY THE MAINFRAME, NO DATA WILL BE LOST.

WAIT TO SEND ALT F9 AND CLEAR TO SEND ALT F10
----------------------------------------------
THESE TWO CODES CONTROL WHEN THE MAINFRAME IS READY TO RECEIVE DATA FROM THE
PC. THE PC DOES NOT SEND ANY DATA TO THE MAINFRAME AFTER THE WAIT TO SEND
CHARACTER HAS BEEN RECEIVED UNTIL THE CLEAR TO SEND CHARACTER IS RECEIVED. 

THE PC WILL GO INTO THE WAIT TO SEND STATUS WITHOUT RECEIVING A WAIT TO SEND
CHARACTER, IF THE "ENTER WAIT TO SEND STATUS AFTER CARRIAGE RETURN" OPTION IS
"YES". 

THE WAIT TO SEND AND CLEAR TO SEND CHARACTERS CAN BE CONFIGURED TO MATCH MANY
DIFFERENT SOFTWARE HAND SHAKING PROTOCOLS. SINCE SDCOM HAS AN INTERRUPT DRIVEN
32,000 BYTE BUFFER, THE "WAIT TO SEND/CLEAR TO SEND" IS USED TO DETERMINE WHEN
THE MAINFRAME IS READY TO RECEIVE DATA.

XON/XOFF
--------
BY SETTING THE CLEAR TO SEND CODE TO HEXADECIMAL 19 (DC3) AND WAIT TO SEND CODE
TO HEXADECIMAL 17 (DC1) THE PC WILL USE THE XON/XOFF PROTOCOL TO DETERMINE WHEN
IT CAN TRANSMIT TO THE MAINFRAME. 

ETX/ACK
-------
BY SETTING THE CLEAR TO SEND CODE TO HEXADECIMAL 06 (ACK) AND THE WAIT TO SEND
CODE TO HEXADECIMAL 03 (ETX) THE PC WILL WORK CORRECTLY. SETTING THE "ENTER
WAIT TO SEND STATUS AFTER CARRIAGE RETURN" TO "YES" AND SETTING THE CLEAR TO
SEND CODE TO HEXADECIMAL 06 (ACK) THE PC WILL WAIT FOR THE HEXADECIMAL
CHARACTER 06 BEFORE SENDING DATA.

NCR "I SYSTEMS"
---------------
SETTING THE CLEAR TO SEND CODE TO HEXADECIMAL 02 (STX) AND WAIT TO SEND CODE TO
HEXADECIMAL 04 (EOT) THE PC WILL WORK CORRECTLY WITH THE NCR "I SYSTEMS".

LF/CR
-----
SDCOM CAN BE CONFIGURED TO USE EITHER THE LINE FEED CONTROL CODE, HEXADECIMAL
10, OR CARRIAGE RETURN, HEXADECIMAL 0D, AS THE CLEAR TO SEND CONTROL CODE. THIS
ALLOWS A SOFTWARE PROTOCOL TO BE USED WHEN THE MAINFRAME IS SENDING A LINE FEED
OR CARRIAGE RETURN AFTER RECEIVING A LINE OF TEXT FROM THE PC. THE CLEAR TO
SEND CONTROL CODE SHOULD NOT BE SET TO A CARRIAGE RETURN SDCOM IS IN FULL
DUPLEX MODE.

F10 EXIT SDCONFIG
-----------------
PRESSING THE <F10> FUNCTION KEY WILL TERMINATE THE SDCONFIG PROGRAM. THE USER
THEN HAS THE OPTION TO SAVE THE CHANGES MADE DURING THE SCREEN DESIGN
CONFIGURATION SESSION OR NOT. 
NP
                            *********************
                            * THE SDCOM PROGRAM *
                            *********************

THE SDCOM PROGRAM IS A COMMUNICATION PROGRAM DESIGNED TO TRANSFER COBOL SOURCE
CODE GENERATED FROM THE SDCOBOL PROGRAM TO ANOTHER COMPUTER. SDCOM EMULATES AN
NCR 796-101 TERMINAL BUT IT'S PERFORMANCE IS POOR COMPARED TO OTHER
COMMUNICATION PACKAGES COMMERCIALLY AVAILABLE, SUCH AS "ANZIO". 

SDCOM CAN BE USED AS A STANDARD TTY TYPE TERMINAL. THE FOLLOWING TABLE SHOWS
NCR 796-101 FUNCTIONS PERFORMED BY THE DIFFERENT CONTROL CODES RECEIVED FROM
THE MAINFRAME. 


ASCII	DECIMAL		FUNCTION
-----------------------------------------------------------
BEL	   7		SOUND BELL / UNLOCK KEYBOARD
LF	  10		LINE FEED / MOVE DOWN 1 LINE
CR	  13		CARRIAGE RETURN / MOVE TO COLUMN 1
FF	  12		FORM FEED / ERASE SCREEN
BS	  08		BACKSPACE CURSOR 1 CHARACTER
VT	  11		MOVE CURSOR TO SPECIFIC LINE
DLE	  16		MOVE CURSOR TO SPECIFIC COLUMN
NAK	  21		BACKSPACE CURSOR 1 CHARACTER
-----------------------------------------------------------

SDCOM CONFIGURATION IS DEFINED BY EXECUTING THE SDCONFIG PROGRAM. THE FOLLOWING
TABLE SHOWS HOW SDCOM CAN BE CONFIGURED THRU SDCONFIG FOR SPECIFIC NCR 796-101
FUNCTIONS. REFER TO THE SDCONFIG PROGRAM DESCRIPTION ABOVE. 

ASCII	DECIMAL		FUNCTION
-----------------------------------------------------------
STX	   2		UNLOCK KEYBOARD
EOT	   4		LOCK KEYBOARD
DC2	  18		TURN ON PRINTER
DC4	  20		TURN OFF PRINTER
-----------------------------------------------------------

LINE 25 STATUS LINE

LINE 25 COLUMN 1
-----------------
DISPLAYS "1" IF COM PORT 1 IS BEING USED OR "2" IF COM PORT 2 IS USED. SDCOM
ONLY SUPPORTS COM PORT 1 THRU 4. THE COM PORT USED IS CONFIGURED IN SDCONFIG
PROGRAM. COM PORT 1 IS THE DEFAULT.

LINE 25 COLUMNS 3 THRU 6
------------------------
DISPLAYS THE BAUD RATE USED BY SDCOM, AND IS CHANGED IN SDCONFIG PROGRAM. 9600
BAUD IS THE DEFAULT.
NP
LINE 25 COLUMN 8
-----------------
DISPLAYS THE PARITY OPTION USED. CHANGED IN SDCONFIG, EVEN PARITY IS THE
DEFAULT. THE TABLE BELOW SHOWS THE DIFFERENT PARITY OPTIONS AVAILABLE.

CODE	OPTION
---------------------------------------------------------
E	EVEN PARITY
O	ODD PARITY
N	NO PARITY (USED WITH 8 DATA BIT WORD LENGTH)
M	MARK PARITY
S	SPACE PARITY
-----------------------------------------------------------

LINE 25 COLUMN 10
-----------------
DISPLAYS HOW MANY BITS PER TRANSMITTED BYTE. CHANGED IN SDCONFIG PROGRAM. MOST
DATA COMMUNICATION USES EITHER 7 DATA BITS AND EVEN PARITY OR 8 DATA BITS WITH
NO PARITY.

LINE 25 COLUMN 12
-----------------
DISPLAYS HOW MANY STOP BITS PER TRANSMITTED BYTE. CHANGED IN SDCONFIG PROGRAM.
MOST APPLICATIONS USE 1 STOP BIT.

LINE 25 COLUMNS 14 THRU 20
--------------------------
DISPLAYS WHETHER THE KEYBOARD ECHO OPTION IS ON OR OFF. IF ALL CHARACTERS TYPED
INTO SDCOM APPEAR TWICE, THE OPTION SHOULD BE SET TO "NO ECHO" IN SDCONFIG. IF
TYPED IN CHARACTERS DO NOT APPEAR ON THE SCREEN THIS OPTION SHOULD BE SET TO
"ECHO ON". "ECHO ON" IS THE DEFAULT OPTION AND IS CHANGED IN SDCONFIG. SDCOM
WILL RUN MUCH FASTER IF THE "ECHO ON" OPTION IS USED BECAUSE SDCOM DOES NOT
HAVE TO WAIT FOR THE MAINFRAME TO ECHO THE CHARACTERS BACK TO THE PC.

LINE 25 COLUMNS 22 THRU 23
--------------------------
DISPLAY WHETHER THE LINE FEED ON CARRIAGE RETURN OPTION IS ON. IF THE COLUMNS
ARE BLANK THEN THE LINE FEED OPTION IS OFF. IF "LF" IS DISPLAYED, SDCOM WILL
MOVE DOWN TO THE NEXT LINE WHEN A CARRIAGE RETURN IS RECEIVED FROM THE
MAINFRAME OR KEYBOARD. IF THE TEXT ON THE SCREEN APPEARS DOUBLE SPACED THEN
THIS OPTION NEEDS TO BE OFF. IF SCREEN TEXT ON THE SCREEN IS WRITING OVER THE
PREVIOUS LINE THIS OPTION NEEDS TO BE ON.

1 UPLOAD THRU 10 EXIT
---------------------
LINE 25 COLUMNS 25 THRU 80 DISPLAYS THE HELP MENU FOR FUNCTION KEY PROCESSES
EXPLAINED BELOW.
NP
1 UPLOAD
--------
BY PRESSING THE <F1> FUNCTION KEY, THE USER STARTS THE FILE UPLOAD / TRANSFER
PROCESS. THE MAINFRAME COMPUTER SHOULD BE SET TO RECEIVE THE FILE AT THIS
POINT. THE USER WILL BE PROMPTED FOR THE INFORMATION REQUIRED BY SDCOM TO
PERFORM THE FILE TRANSFER. THE FIRST TRANSMISSION OF DATA RECEIVED BY THE
MAINFRAME AFTER THE USER HAS ANSWERED ALL SDCOM'S PROMPTS IS THE FIRST LINE OF
THE FILE TO UPLOAD.

AFTER THE USER PRESSES THE <F1> FUNCTION KEY, THE USER WILL ASKED IF HE WANTS
TO START THE UPLOAD PROCESS. IF THE USER RESPONSES WITH "N" THE FILE TRANSFER
WILL NOT BE PERFORMED. ANSWERING "Y" WILL START THE UPLOAD PROCESS. THE USER
WILL BE PROMPTED FOR THE PC FILE NAME TO UPLOAD AFTER ANSWERING "Y" TO THE
START UPLOAD PROCESS PROMPT. 

IF SDCOM IS NOT CONFIGURED FOR RECORD LENGTH 80, AND RECORDS PER BLOCK IS 1,
THE USER WILL BE ASKED IF THE LINE NUMBERS FROM THE UPLOAD FILE ARE TO BE
DROPPED. IF THE USER RESPONSES WITH <Y>, SDCOM WILL REMOVE THE FIRST 6
CHARACTERS OF EACH UPLOAD LINE. THIS OPTION IS USED IF THE MAINFRAME EDITOR IS
ASSIGNING THE PAGE LINE NUMBER OF THE COBOL TEXT LINES BEING TRANSFERRED FROM
THE PC. SDCOM WILL NOT REMOVE THE FIRST 6 CHARACTERS OF EACH LINE IF THE
RESPONSE IS "N".

AFTER THE UPLOAD QUESTIONS, SDCOM WILL BEGIN THE FILE TRANSFER PROCESS. DURING
THE FILE TRANSFER PROCESS, LINE 25 IS CHANGED TO THE UPLOAD HELP LINE. THE LEFT
PORTION OF LINE 25 DISPLAYS PC FILE NAME BEING UPLOADED. PRESSING THE <F1>
FUNCTION KEY DURING THE FILE UPLOAD WILL CAUSE SDCOM TO ASK IF THE UPLOAD
PROCESS IS TO BE ABORTED.

LINE 25 COLUMNS 61 THRU 72 DISPLAYS THE CURRENT SDCOM UPLOAD STATUS. WHILE DATA
IS BEING TRANSFERRED THIS STATUS BLOCK WILL DISPLAY "UPLOADING". AFTER THE
TRANSFER OF A BLOCK OF DATA IS COMPLETED, COLUMNS 61 THRU 72 WILL DISPLAY WHY
SDCOM IS WAITING BEFORE SENDING THE NEXT BLOCK OF DATA TO THE MAINFRAME. THE
FOLLOWING TABLE LISTS THE DIFFERENT WAIT OPTIONS AVAILABLE IN SDCOM. 

WAIT MESSAGE	DESCRIPTION
-----------------------------------------------------------
WAIT CR		SDCOM HAS BEEN CONFIGURED TO WAIT FOR A 
		CLEAR TO SEND CONTROL CODE FROM THE 
		MAINFRAME.

LINE DELAY X	SDCOM IS WAITING X SECONDS BEFORE SENDING 
		THE NEXT BLOCK OF DATA, ALLOWING TIME FOR 
		THE MAINFRAME TO PROCESS THE LAST BLOCK OF 
		DATA.

WAIT XXX	SDCOM HAS RECEIVED A WAIT TO SEND CONTROL 
		CODE FROM THE MAINFRAME WITH XXX BEING 
		THE CONTROL CODE.
-----------------------------------------------------------

PRESSING THE <F4> FUNCTION KEY CLEARS SDCOM WAIT STATE SO THE NEXT BLOCK OF
DATA CAN BE SENT. THE UPLOAD STATUS WILL BE CHANGED TO "CLEAR KEY" WHEN THE
<F4> KEY IS PRESSED.

2 FF
----
ALLOWS THE USER TO SEND A FORM FEED, HEXADECIMAL 0C, TO THE PRINTER. HANDY WHEN
USING THE PRINT SCREEN FUNCTION.

3 SAVE SCREEN
-------------
ALLOWS THE USER TO SAVE LINES 1 THRU 24 OF A SCREEN TO A PC DISK FILE. THIS
DISK FILE CAN BE MODIFIED BY THE SDEDIT, OR LOADED INTO A WORD PROCESSOR FOR
SOFTWARE MANUALS.

4 RESET
--------
CLEARS THE WAIT STATUS DISPLAYED IN COLUMNS 61 THRU 72. 

10 EXIT
-------
ALLOWS THE USER TO TERMINATE THE SDCOM PROGRAM.


