PDA

View Full Version : save 21 aus CA



Seiten : [1] 2

ILEMax
12-02-09, 05:57
Moin,
lang lang ist her ...
save 21 hab ich früher immer von der Twinax Konsole gemacht.
Ich hab aber keine mehr.
Nur noch CA.
TFRJOB in QCTL, go save, 21,
cpf1052

Ursache . . . . : ENDSBS(*ALL) ist nur von einem interaktiven Job aus
zulässig, der von einem Datenstationseintrag *SIGNON im steuernden Subsystem
gestartet wurde. ENDSBS(*ALL) ist nicht von einem TELNET-Job, einem
Zieldurchgriffsjob oder einem Job für Workstationfunktionen aus zulässig.
ENDSBS *ALL ist nur in einem Stapeljob zulässig, wenn der Parameter
BCHTIMLMT angegeben ist.

in QCTL ist mein BS-Name mir *signon eingetragen.
Was will Sie noch ?
Danke
Max

TARASIK
12-02-09, 08:26
Hallo,
vielleicht hilft Dir dies weiter:

CPF1052 Received by Batch Program Trying to Do a Save
Incident Summary

Problem Summary:
A batch job receives message CPF1052 when trying to end subsystems and perform a save.

Resolution:
The program running in batch was trying to end all the subsystems and then do a series of SAVLIB commands within the same program. The program attempted to end the subsystems with the ENDSBS *ALL *IMMED command. That resulted in the following message being issued: CPF1052 - ENDSBS *ALL not allowed in current environment . The only time that command is permitted is when running from a workstation that has a *SIGNON workstation entry in the controlling subsystem. If that command had been permitted, the ending of the BATCH subsystem would have ended that batch job and it consequently would not have been able to perform the needed SAVLIB operations anyway.

The first option to resolve this problem is to have the operator call a program from the console (or other workstation that was running under the controlling subsystem with a *SIGNON workstation entry). This program delays until the appropriate time to perform the subsystem endings and then could do the required SAVLIB operations. The second option is to submit a job using the job scheduler to the QCTL job queue that would individually end the appropriate subsystems (QBATCH, QINTER, QSERVER, QUSRWRK, and so on) and then perform the required saves. It is also recommended that you run the ENDTCPSVR *ALL , ENDHOSTSVR *ALL and ENDTCP commands followed by a delay prior to initiating the ending of the subsystems.

ILEMax
12-02-09, 09:08
Danke


The first option to resolve this problem is to have the operator call a program from the console (or other workstation that was running under the controlling subsystem with a *SIGNON workstation entry).

Tja, irgendwie hab ich da wohl was falsch gemacht.
addwse sbsd(QCTL) wrkstn(MeinDsp) at(*signon)
signoff Signon: MeinDsp ist in Qinter !!
tfrjob qctl
und dann ... der Fehler

Wie bekomme ich MeinDSP sofort ins QCTL bzw. wie def. ich 'die' Konsole
Danke
Max

Pikachu
12-02-09, 09:39
ADDWSE SBSD(QINTER) WRKSTN(MeinDSP) MAXACT(0) AT(*ENTER)

h_u_d
12-02-09, 10:18
...mit: TFRJOB QCTL ?


Gruß

HuD

ILEMax
12-02-09, 10:26
@Pikachu
Wieso Qinter ?
und wieso *enter? Die fehlermeldung sagt doch das *signon benötigt wird ?


@H_U_D
ämm ...
das steht doch da, das ich das gemacht habe ...

Max

TARASIK
12-02-09, 10:52
Hallo Max,
ich würde die zweite Variante nehmen:

The second option is to submit a job using the job scheduler to the QCTL job queue that would individually end the appropriate subsystems (QBATCH, QINTER, QSERVER, QUSRWRK, and so on) and then perform the required saves. It is also recommended that you run the ENDTCPSVR *ALL , ENDHOSTSVR *ALL and ENDTCP commands followed by a delay prior to initiating the ending of the subsystems.

ILEMax
12-02-09, 11:13
Hallo TARASIK,

die 21 läuft ja interaktiv
heist das, ich soll Vorher ein Endsbs(*all) submitten
Wie verhinder ich dann bei der 21 das er abbricht ?
(Ok, ich könnte alle Befehle mit Eingabeaufforderung absetzen, kommen die Fragen nacheinander bevor Sie richtig loslegt oder 'Nachtunfreunlich' nacheinander ?
gruß
Max

KingofKning
12-02-09, 11:33
Wenn Du ein wenig suchst, findes Du ein CL von Holger was die komplette Sicherung macht, ist kein Jahr her das er darüber geschrieben hat.
Gruß
Gregor

ILEMax
12-02-09, 11:41
Hilfe ! Holger wo bist du?
Max