mme gesyot zero FCB,0
MME GESYOT sends records to SYSOUT for subsequent printing or punching. Files codes P* (printing), C* (punching) and K* (COMDK punching) are associated with SYSOUT by default. Other files may be associated with SYSOUT through the $SYSOUT, $REMOTE, and $PPS JCL statements. SYSOUT files may not be processed with MME GEINOS -- you must use MME GESYOT.
Normally, SYSOUT is only referenced by the File and Record Control function, which uses an FCB. Various fields of the FCB must be set up before the call to MME GESYOT. These are described below.
The buffer referenced by FCB+2 begins with
zero 0,N zero zero zerowhere N is the number of words that follow the first word in the buffer. (Therefore the buffer is actually N+1 words long.)
The actual records of the buffer begin at word 4 of the buffer. Each record begins with a "logical record control word" that has the form
vfd 18/LENGTH,8/0,4/MC,6/RCwhere
When MME GESYOT writes out a record, it sets bit 18 of the logical record control word to 1. This must be set back to 0 if you want to write out the same record later on.
MME GESYOT returns a status in FCB-3. If bits 2-5 of this word are zero, the MME was successful.
MME GESYOT may also be used to send an existing mass storage file of print or punch records directly to SYSOUT.
mme gesyot vfd h18/DDD,o6/FLAGS,h12/FC vfd h30/BBBBB,6/OC tra FAIL_RTN
The following conditions will abort the user's program and print an (octal) abort code on the output.
The following conditions cause an error return (to the "tra FAIL_RTN" instruction). An octal denial code is given in the lower half of the A register.
The records in the mass storage file must be in standard system format, but block serial numbers are not necessary. The file must have an end-of-file mark at its end. All records must contain media codes, and print records should contain printer slew codes.
Printer output can only be media codes 3, 7, 11, or 15. Punched output can only be media codes 1, 2, or 12. Other media codes will abort the report.
The file is processed in sequence without regard to the report codes in the record control words. A permanent file cannot be reprocessed (even if reprocessing is requested) because the file is immediately deallocated. A temporary is not immediately released, so it can be reprocessed.
If a temporary file is processed and the file is not in a rewound state, all space beyond the current position of the file will be released. Note that a program may not reference temporary or permanent backdoor files after the MME GESYOT.
Backdoor requests are assigned a default urgency of 5. This can be modified by the user-supplied .MSCN2 module or the URGC verb.
SYSOUT usually produces the identification banner when it encounters a $IDENT statement on J* with a record word of the form
18/LENGTH,o18/050374 (BCD) 18/LENGTH,o18/050774 (ASCII)However, there is no execution report for a backdoor job. If an IDENT banner RCW is recorded in the first logical record of the user's file, the report writer accepts it and produces an IDENT banner. If no such RCW is found, the IDENT banner is not generated, but the SNUMB banner is.
SYSOUT does not generate report banners for backdoor jobs, but if the output is being sent to a printer, a top-of-form slew command is issued before the data is delivered.
In TSS, DRL T.SYOT is available for passing a data file to SYSOUT's backdoor queue.
The following abort messages may appear on SYSOUT's execution report.
077 0> output limit exceeded 100 SYSOUT record size error 101 SYSOUT seek error 102 SYSOUT allocation error 103 01-bad SYOT status ptr. 104 01-bad SYOT buffer ptr. 105 01-SYOT buffer > limits 106 EP-irrecoverable I/O error 110 bad GESYOT media code 120 SYSOUT storage exhausted 121 invalid MME parameter 122 lost PH.SYT seg contents 142 backdoor f.c. unknonwn 143 invalid file to backdoor 223 invalid PMME arguments 230 EXEC RPT descriptor err 243 invalid SYOT record type
Copyright © 2000, Thinkage Ltd.