One more thing to try:  Add a \ in front of the - to see if that makes any 
difference.  Perhaps the - may be considered pattern masking RMF?
(ADD(XXX\-LQAV.CONTROL.MASTER))

    On Wednesday, February 10, 2021, 02:09:00 PM EST, Edgington, Jerry 
<[email protected]> wrote:  
 
 Thanks everyone, but this is trying to add a VSAM with dash in the HLQ to the 
VSAMRLS definition for RMFGAT to monitor at the VSAM dataset level.  I have 
tried the "normal" things like single quotes, but RMF still fails on the dash.

Jerry 

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Chen, Ya-Fang
Sent: Wednesday, February 10, 2021 2:07 PM
To: [email protected]
Subject: Re: Datasets with - in HLQ

This message was sent from an external source outside of Western & Southern's 
network. Do not click links or open attachments unless you recognize the sender 
and know the contents are safe.
________________________________________________________________________________________________________________________

Jerry,


This is the procedure I used:



1). Allocate RMF VSAM dataset

a.    Use RMF utility
erbvsdef 'VDVCC.RMFMON3.DV1.DS2' TRACKS(750)  


2). Add the dataset to RMF MON III    

a. Dynamically using the command
MODIFY RMF,MODIFY III,DS(ADD(VDVCC.RMFMON3.DV1.DS2))
    
b.    Change RMF PARMLIB member ERBRMF04 and recycle RMFGAT


Regards,
Ya-Fang

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Edgington, Jerry
Sent: Wednesday, February 10, 2021 12:01 PM
To: [email protected]
Subject: [EXTERNAL] Datasets with - in HLQ

I am trying to add VSAM datasets to RMFGAT for monitoring, but RMF doesn't like 
the - in HLQ, which is valid. Does anyone know what the syntax should be to add 
this type of dataset?

F RMF,F III,VSAMRLS(ADD(XXX-LQAV.CONTROL.MASTER))

I get this error, when trying to add the dataset:
ERB300I III: SYNTAX ERROR IN OR FOLLOWING TEXT BEGINNING 'S(ADD(XX-L
ERB300I III:    QAV.CONTROL.MAS' IN OPERATOR INPUT
ERB224I III: '-LQAV.CONTROL.MASTER)' SKIPPED DUE TO PREVIOUS ERROR

Thanks,
Jerry Edgington

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
  

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to