View previous topic :: View next topic
|
Author |
Message |
NickCZ
New User
Joined: 14 Dec 2005 Posts: 5
|
|
|
|
Hello,
I have a problem with getting output into a DSN of this command HSEND Q CDS.
I use this JCL:
//RMM EXEC PGM=IKJEFT01
//SYSTSPRT DD DSN=&&RESULT,DISP=(,PASS),
// SPACE=(CYL,(2,1)),UNIT=SYSDA
//SYSTSIN DD *
RMM LC ALL
It works for RMM LC ALL, but for HSEND Q CDS - no.
What`s the cause of it?
Thanks for your answers.
Regards, Nick. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Please post the output(s) from the successful run and the problem run.
If we cannot see what the system provides, we cannot be as much help. |
|
Back to top |
|
|
NickCZ
New User
Joined: 14 Dec 2005 Posts: 5
|
|
|
|
The output from the successful run (RMM LC ALL):
READY
RMM LC ALL
Control record:
Type = MASTER Create date = 06/10/1998 Create time = 14:25:18
Journal: Utilization = 4% (75% threshold) STATUS: = ENABLED
CDS: Utilization = 35%
Exit status: Options:
EDGUX100 = ENABLED Stacked Volumes = NONE
EDGUX200 = NONE Extended Bin = DISABLED
Last backup: Last expiration processing:
Date = 11/01/2007 Time = 05:00:49 Date = 11/01/2007 Time = 05:00:51
____________________
JCL:
//LIRMMLC1 JOB NOTIFY=&SYSUID,CLASS=A,MSGCLASS=A
//CONTROL EXEC PGM=IKJEFT01,DYNAMNBR=25,REGION=2048K,TIME=600
//SYSTSPRT DD DSN=&SYSUID..SCRIPTS(RMMLC),DISP=(SHR)
//SYSTSIN DD *
HSEND Q CDS
//************************************************************/
The output from the problem run (HSEND Q CDS):
READY
HSEND Q CDS
READY
END
______________________
The problem is I got the info about CDS on my screen but I need to put it in a DSN; in the DSN I have this:
READY
HSEND Q CDS
READY
END |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
You may find that the job is working with the PUTLINE macro but not with the TPUT macro witch is used by HSM. . .
Depending you how it comes back to your screen, you may be able to save it from that screen.
You might also look in the userid.SPFLOGn.LIST dataset that is created and logs activity for your ispf session. |
|
Back to top |
|
|
prasaar
New User
Joined: 11 Dec 2006 Posts: 21 Location: India
|
|
|
|
Hi,
Dont think it is possible to capture HSM query command output in a dataset. The output of the query command will be diplayed in the terminal and cannot be found in the syslog or HSM log to copy it into a dataset.
However other HSM commands allow you to mention a output dataset. For example. if you'd like to know the backup versions of all datasets for user ABCXYZ use the following command:
TSO HLIST DSN LEVEL(ABCXYZ) BCDS ODS(BCDS.OUTPUT)
This command will list all backup version datasets of ABCXYZ and the output will be put in "URHLQ.BCDS.OUTPUT"
Cheers,
Arun Prasad
MVS Admin |
|
Back to top |
|
|
|