Bob,

I think SMCOPY requires the session manager. 
In these situations I use REPRO. With REPRO you can specify the data set
name (via INDATASET) or the input file (via INFILE). So you specify whatever
you like on an ALLOCATE command and then specify that file name on the REPRO
command.

Lennie Dymoke-Bradshaw
'Dance like no one is watching. Encrypt like everyone is.'

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Bob Bridges
Sent: 14 April 2021 00:57
To: [email protected]
Subject: Using SMCOPY to copy to an uncatalogued DS

I'm writing a REXX to copy a bunch of datasets.  The input datasets are
catalogued; the output is to be uncatalogued and written to a particular
DASD volume.  I figure to use LMCOPY for PDS members, and for flat files -
since ISPF doesn't seem to have an analogous command for them - SMCOPY.

But wait:  Where's the SMCOPY syntax to specify an uncatalogued dataset on a
DASD volume?  I don't see it.

There's something about sending the dataset to a "stream", but I don't know
what a stream is.  Is it a DD?  Probably not; I'm sure IBM knows how to
spell "DD".

---
Bob Bridges, [email protected], cell 336 382-7313

/* How strange that there was once a time when Americans philosophized
hotly, in the passionate assurance that their ideas would have practical
consequences!  And oddly enough, they did.  Now we just shrug and cough up
the [tax] money, with the resignation of an old New Yorker facing a mugger.
-Joseph Sobran */

----------------------------------------------------------------------
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