• Aucun résultat trouvé

ROUTINE If disk scan not successful or successful but desired record not in scan buffer: tlPRSD

Dans le document Property of IBM (Page 123-130)

Set not found completion code (PRSFRNF).

Return to calling program.

If search successful-scan hit'·($FDSCEQ) and record found in scan buffer:

If incorrect password given:

-

Set bad password completion code (PRSFBPW).

-

Return to calling program.

If correct password given:

-

Set normal completion code (PRSFNML).

-

Move security class to output area.

-

Return to calling program.

If I/O error occurs on disk scan:

Set I/O error return code (PRSFIOR).

Return to calling program.

Diagram 2.32 (Part 2 of 2). Perform Password Security Function 2-68

Licensed Material-Property of IBM

II INPUT

From: Command Processor Mainline (#CPML)

L..S:;:0CESS

If not error conditions found, return to caller.

[D

If request is for message at system console:

o

Prepare space for message in console SYSLOG area on disk.

" Build message in the command processor work area:

- Push current work area to disk.

- Get format line.

- Get no message found message.

-- Get message for MIC#.

• Write message buffer to history file and to console SYSLOG sector on disk.

o

Place message on console SYSLOG queue.

• Restore command processor work area.

• Return to #SVERP.

• GotoD·

If request is wait for response:

• If work station error is being processed, pass control to #SVWSR (Diagram 2.35).

• If 3 option taken, point task IAR at the EOJ SVC in system communications area.

o

Search the console SYSLOG queue for any I/O messages that have been built but not displayed; also search display station matrix.

• Remove message, if found.

Diagram 2.33 (Part 1 of 2). I/O Error Recovery

Licensed Material-Property of IBM

OUTPUT

t::=.::==~

Method of Operation 2-69

DESCRIPTION

II

If request is for I/O error recovery:

• Mark ER B as done.

• If work station error is being processed, pass control to #SVWSR (Diagram 2~35).

• If the ERB request was for printer error recovery:

- If the no response required flag (ERBMNRSP) in the printer TUB ERBis on, clear the error by issuing a clear command to the printer.

- If the no response required flag is off, and if the printer TUB is for a display station printer:

a. Set forms length.

b. Set graphic error action.

c. Set forms width.

• If other printer error, or other I/O device error is being processed, call applicable control storage error recovery transient.

• GotoD·

Diagram 2.33 (Part 2 of 2). I/O Error Recovery 2-70

Licensed Material.;...Property of IBM

MODULE/

RESPONSE

#SVERP

#SVPRE Ptr lOCH

#SVPRE Ptr lOCH

#SVERP

(

INPUT

II

Handle error message sent

IJ

Process message response

II

Process second error

II

Process ready interrupt

D

If called to do error recovery, determine class of error:

If resources temporarily unavailable:

"" OUTPUT _ _ _

_

-

If work station is not ready, exit to display station error recovery for device, not ready (Diagram 2.36).

-

If error is read to unlocked keyboard by command processor:

a. Free TP buffer.

b. Post command processor.

c. Clear ERB.

d. Reset/invite keyboard.

e. Return to caller.

-

If device is in error mode or powered off:

a. Set hardware error.

b. GotoDE).

- I f device is operational:

a. Set programming error.

b. GotoBO .

If programming error:

-

Free TP buffer.

-

If command processor caused error, reclassify error as hardware and go t o D e .

0 -

If user program caused error:

a. If TUB in error is being released, pend error until release has completed.

b. Suspend user task or pend suspension.

c. Recycle error if not already done.

d. If programming error on master console, force console mode. #CPTC

e. Set 2 and 3 options allowed. #SVWSR

e

f. Set up ERB to send message.

g. Return to caller.

Diagram 2.34 (Part 1 of 4). Perform Display Station Error Recovery

Method of Operation 2-71

Licensed Material-Property of IBM

MODULE/

DESCRIPTION ROUTINE

0 If hardware error: #SVWSR

-

Free TP buffer.

-

If error occurred while processing inquiry:

a. Recycle (save) error, if not already done.

-

If TUB owned by command processor:

a. Recycle error if not already done.

b . If TUB is not signed on:

Set informational message flag.

0 If TUB is the system console:

0 Wait 7 seconds unless entered due to SYS!REO sequence.

0 Reset ERB and attempt to clear screen.

0 If clear fails, go t o o e . 0 Otherwise:

- If error occurred during IPL:

a. Set off console check.

b. Clear ERB.

c. Return to caller.

-

If STATUS display was active at time of error:

a. Update or end STATUS. #CCSM

-

b., If update was performed, go tolEJe. #SVWSR

-

Determine console mode at time of error:

a. If in forced console mode (error occurred while running user program):

G If console screen was previously saved, restore console interface.

b.

o

Otherwise, put u'p console display and go to

Dei).

If in console mode:

o

Rebuild console display #CCCO

o

GotomJ8. , H=SVWSR

c. Otherwise, clear ERB.

(@

d. Return to caller.

Diagram 2.34 (Part 2 of 4). Perform Display Station Error Recovery 2-72

Licensed Material-Property of IBM

MODULE/

-

Set waiting for response in TUBERPCT.

-

Clear error aid (TUBERAID

=

0).

-

Return to caller.

If message was sent due to a hardware error on the system console:

-

Put console TUB on vertical tubchain.

-

Mark TUB as console mode forced.

-

G o t o D e ·

II

If message response for a TUB owned by a user:

Post TUB complete with error.

If 2 option taken, unsuspend user task.

If 3 or 0 option taken,

ABTRM the task and clear ERB. #CCCM

Return to caller. #SVWSR

If message response for a TUB owned by the command processor:

If oPtion 1 taken:

-

Clear ERB.

- Attempt to clear screen in error.

-

If clear screen failed, return to caller.

Otherwise, try to put up last system display or, if status was active,

refresh STATUS display. #CCSM

If oPtion 2 taken: #SVWSR

0 -

Copy ERB of inquiry TUB to next TUB on horizontal chain.

-

Perform pseudo resume of interrupted task. #CPIQ

-

Rechain interrupted TUB.

- Free inquiry JCB, WSWA, and TUB.

- GotoBO· #SVWSR

Call control storage transient to get message 10.

GotoD·

D

If ready is pending, go to

DO.

If ready function is in progress (reject and ready occurred while processing a previous reject):

Post TUB complete in error.

-

Post TUB complete.

-

Return to caller.

Diagram 2.34 (Part 3 of 4). Perform Display Station Error Recovery

Method of Operation 2· 73

Licensed Material-Property of IBM

DESCRIPTION

• Otherwise:

- If command processor owns TUB:

a. If error occurred during Sys/req - Enter sequence:

• Set off reject/ready indicators.

• Set command processor aid to SYS/REQ.

• Clear ERB.

• Return to caller.

b. Otherwise:

• If a read command was rejected:

- Reset TUB to invite status.

- Clear ERB.

- PIQACE.

- Post TUB invite complete.

- Return to caller.

e

Build attach parameter list.

Attach ready task.

If attach was successful, clear ERB.

Otherwise, set ready pending.

Return to caller.

Diagram 2.34 (Part 4 of 4). Perform Display Station Error Recovery 2-74

Licensed Material-Property of IBM

MODULE/

ROUTINE

#SVWSR

#SVAT

#SVWSR

(

From: Keyboard Work Station Error Recovery (#SVWSR), or Work Station Data Management Modules

INPUT

ect header and data ng for ready

Zero TUB completion code.

Set up ERB to wait for ready.

-

Move all reject records for TUB to display screen via #DWDM.

-

Restore invite status and call #SVUR.

-

Pull user into main storage.

Diagram 2.35 (Part 1 of 2). Perform Display Station Error Recovery for Device Not Ready Function

Licensed Material-Property of IBM

• OUTPUT

Method of Operation 2-75

Dans le document Property of IBM (Page 123-130)