Trailing-Edge
-
PDP-10 Archives
-
BB-5372D-BM
-
traffic/documentation/traffic-demo.doc
There is 1 other file named traffic-demo.doc in the archive. Click here to see a list.
1.0 INTRODUCTION
THERE ARE SEVERAL DEMOS WHICH CAN BE USED TO ILLUSTRATE
TRAFFIC-20 FUNCTIONS. THESE DEMOS CONSIST OF PROGRAMS
WHICH HAVE BEEN USED TO TEST TRAFFIC-20 DURING DEVELOPMENT.
THEY MAY REQUIRE SOME INVESTIGATION OF THE COBOL PROGRAMS
AND THE FORM SPECIFICATION FILES IN ORDER TO MAKE THEM
USEFUL.
THIS DOCUMENT IS INTENDED TO PROVIDE SOME INSIGHT INTO
HOW TO USE THESE DEMOS.
2.0 TTEST.CBL
TTEST IS A PROGRAM WHICH EXERCISES MOST OF THE TRAFFIC-20
FORMS PROCESSING FUNCTIONALITY.
THE FIRST STEP IN USING THIS PROGRAM IS TO COMPILE EACH
OF THE FORMS "TTEST-*.FORMS-SPEC" WITH THE TFR.EXE
FORMS COMPILER.
TTEST SHOULD BE LINKED WITH BOTH TFRCOB.REL AND IP20.REL.
THE ONLY IP20 FUNCTION TESTED BY THIS PROGRAM IS TO RUN
ANOTHER COPY OF TTEST IN A LOWER PROCESS.
THE FIRST FORM SEEN BY THE USER IS A MENU FORM. THERE ARE
25 DIFFERENT FUNCTIONS WHICH CAN BE RUN FROM THIS MENU.
MANY OF THESE FUNCTIONS TEST ALL FIELD TYPES WITH A
DIFFERENT COMBINATION OF FIELD ATTRIBUTES. WHILE RUNNING
ONE OF THESE FUNCTIONS THE USER MAY INITIALIZE THE SCREEN,
READ THE UNPROTECTED FIELDS, OR CAUSE THE VAULES READ IN TO
BE MOVED TO PROTECTED FIELDS AND PRINTED BACK OUT. IN
EACH CASE THE UNPROTECTED FIELDS MUST BE INITIALIZED FIRST.
IN ORDER TO RETURN TO THE MENU, THE USER SHOULD ANSWER "NO"
TO ALL QUESTIONS. IN ORDER TO RETURN TO MONITOR LEVEL, THE
USER SHOULD REQUEST TEST NUMBER "0".
SOME OF THE TESTS DO NOT FOLLOW THIS FORMAT, AND THE USER
WILL HAVE TO EXPERIMENT WITH THEM.
2.0 MYFORM , NEWFORM
THESE TESTS ARE VARIATIONS OF THE EXAMPLE USED IN THE
TRAFFIC-20 USER'S DOCUMENT. IT IS EXPECTED THAT THEY
WILL BE USED AS SIMPLE EXAMPLES OF HOW TO USE THE TRAFFIC-20
SCREEN FORMATTING ROUTINES.
3.0 IP20 TESTS
THE PROGRAMS:
FILEPR.CBL
RCVSEQ.CBL
SNDSEQ.CBL
TERM.CBL
TRUPTR.CBL
TRUPTS.CBL
ARE ALL EXAMPLES OF PROGRAMS WHICH USE IP20 FUNCTIONALITY.
IT IS EXPECTED THAT THEY WILL BE USED TO ILLUSTRATE HOW TO
WRITE A PROGRAM USING IP20 SUBROUTINES. THE USER WILL HAVE
TO INSPECT THEM TO DETERMINE HOW TO USE THEM.
THE PAIR OF PROGRAMS TRUPTS (SENDER) AND TRUPTR (RECEIVER)
ARE RUN TOGETHER, ONE SENDING MESSAGES TO THE OTHER.
4.0 TFRTST
THIS PROGRAM CAN BE USED TO "SEE" A FORM BEFORE THE PROGRAM
TO READ THE FORM HAS BEEN WRITTEN.
THRU A DIALOGUE, THE USER WILL BE DIRECTED TO ENTER THE NAME
OF THE FORM-FILE (MYFORM.FORM-DATA), AND THEN WILL BE
PROMPTED TO ENTER FIELD OR SECTION NUMBERS IN ORDER TO SEE
THE DESIRED FIELDS.