On 11/6/2013 8:04 AM, Alan Field wrote:
Simply from option 6 I entered SMCOPY
Alan Field
Technical Engineer Principal
BCBS Minnesota
Phone: 651.662.3546 Mobile: 651.428.8826
Ah. In the TSO Command Reference you will see:
"If the source and target of the copy request are both data sets, (SYSOUT or
QSAM), you do not have to be logged on under the Session Manager to use the
SMCOPY command."
Try something like
smcopy fds(from_datasetname) tds(to_datasetname)
note that if 'to_datasetname' does not exist, SMCOPY will create it.
you can also add the option notrans to ensure no translation
of non-printable characters to blanks (e.g., if you have
packed decimal or binary data fields)
you can also add the option 'line(start:end)' to copy a subset of
the source file.
Kind regards,
-Steve
From: "Steve Comstock" <[email protected]>
To: [email protected],
Date: 11/06/2013 08:58
Subject: Re: Aging Sysprogs = Aging Farmers
Sent by: IBM Mainframe Discussion List <[email protected]>
On 11/6/2013 7:47 AM, Alan Field wrote:
Possibly because many of us don't run Session manager.
Here's what I get: SESSION MANAGER NOT ACTIVE - SMCOPY IGNORED in
response
to the SMCOPY command.
Alan Field
Technical Engineer Principal
BCBS Minnesota
Phone: 651.662.3546 Mobile: 651.428.8826
Interesting. I knew that the 'SM' in 'SMCOPY' stood for
session manager, but my recent experience has been that
the SMCOPY command has always worked. Must have lucked
out in that session manager was always running where I
happened to test it.
Can you show us the actual command you issued?
Kind regards,
-Steve
From: "Steve Comstock" <[email protected]>
To: [email protected],
Date: 11/05/2013 21:39
Subject: Re: Aging Sysprogs = Aging Farmers
Sent by: IBM Mainframe Discussion List <[email protected]>
On 11/5/2013 5:26 PM, David Crayford wrote:
On 6/11/2013 12:37 AM, John Gilmore wrote:
I do of course agree that z/OS is perceived to be boring, but that is
another question.
I don't think it's perceived as boring, certainly it's perceived as
user
hostile. Take Pauls cp command example, it's easy to copy files
using a simple command. For those that prefer GUIs they can drag and
drop or
copy/paste. On the mainframe one has no choice but
to run JCL. JCL certainly is an antique, and a very unpleasant one.
Actually, in a TSO session (analogous to a UNIX session),
you can use the SMCOPY command without JCL. It's just
that most people aren't aware of it.
<ad>
Covered in our courses
TSO CLIST Programming in z/OS - 3 days
http://www.trainersfriend.com/TSO_Clist_REXX_Dialog_Mgr/a650descrpt.htm
TSO REXX Programming in z/OS - 5 days
http://www.trainersfriend.com/TSO_Clist_REXX_Dialog_Mgr/a750descrpt.htm
</ad>
--
Kind regards,
-Steve Comstock
The Trainer's Friend, Inc.
303-355-2752
http://www.trainersfriend.com
* We are going out of business effective 30 December, 2013
* To purchase a set of our training materials at terrific prices,
check out our Going Out Of Business Sale:
http://www.trainersfriend.com/SpecialSale
----------------------------------------------------------------------
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
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN