I would have expected

HRECOVER '$WTQ$35.BACKUP.RPMSTAD.TOT.G2025V00' NEWNAME(X 
'$P160020.POSTAT.TEST')

Or

HRECOVER '$WTQ$35.BACKUP.RPMSTAD.TOT.G2025V00'  NEWNAMEX 
('$P160020.POSTAT.TEST')

???

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of esmie moo
Sent: 08 Januarie 2008 12:14 nm
To: [email protected]
Subject: Re: DFHSM QUESTION - SYNTAX

I have found my error.  Sorry for troubling the board.

esmie moo <[EMAIL PROTECTED]> wrote:  Good Morning Gentle Readers,

I am attempting to perform a HRECOVER command via batch job (auditors
requirements). I am also trying to rename the recovered dsn. I am
encountering a syntax error. Can anybody please advise me as to how I
could correct it. Below is my jcl and the error message:
//STEP001 EXEC PGM=IKJEFT01 
//SYSPRINT DD SYSOUT=* 
//SYSTSPRT DD SYSOUT=* 
//SYSTSIN DD * 
HRECOVER '$WTQ$35.BACKUP.RPMSTAD.TOT.G2025V00' NEWNAME X 
('$P160020.POSTAT.TEST') 
/* 
I put the "X" in col 72 to act as a continuation.

Below is the error message:

READY 
HRECOVER 'WTQ$35.BACKUP.RPMSTAD.TOT.G2025V00' NEWNAME 
MISSING NEW DATA SET NAME 
READY 
('RACF.POSTAT.TEST') 
INVALID COMMAND NAME SYNTAX 
READY 
END 

Thanks to all in advance 





---------------------------------
Looking for the perfect gift? Give the gift of Flickr!

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


       
---------------------------------
Be smarter than spam. See how smart SpamGuard is at giving junk email
the boot with the All-new Yahoo! Mail  

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
Elavon Financial Services Limited
Registered in Ireland: Number 418442
Registered Office: Block E, 1st Floor, Cherrywood Business Park, Loughlinstown, 
Co. Dublin, Ireland
Directors: Robert Abele (USA), John Collins,  Terrance Dolan (USA),  Pamela 
Joseph (USA), Declan Lynch, John McNally, Malcolm Towlson
Elavon Financial Services Limited, trading as Elavon, is regulated by the 
Financial Regulator

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to