In <[email protected]>, on 02/23/2015
   at 03:00 PM, Charles Mills <[email protected]> said:

>I'm trying to do the following and I know it does not work because
>IDCAMS says
>IDC2559I MEMBER CAN NOT BE SPECIFIED WITH A GENERIC NAME 

You have an asterisk as an index level in the dsname.

>But is there a way to do something like this, without restricting
>the job to V2R1 and symbols in SYSIN? I want to delete all members
>of a PDS where the PDS is named with a JCL symbol:

The asterisk is a wildcard, not a reference to a symbol. You're
specifying a dsn mask, a member and a file; you should have only the
member and the file.

Alternatively, you could run under a batch TMP, but that seems like
overkill in this case. 
 
-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

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

Reply via email to