Page 1 of 1

tso copy in the foreground

Posted: Tue Feb 09, 2021 11:11 pm
by dot1q3
i'm trying to use smcopy to copy datasets. here's my syntax

smc fds(mydataset.data1) tds(mydataset.data2)

i'm getting the following error:

smcopy record format of data set not consistent with operation being performed

i see the new mydataset.data2 was created but it's empty.

what could be wrong.

is there any other copy utilities that i can copy in the foreground?

Re: tso copy in the foreground

Posted: Wed Feb 10, 2021 10:48 am
by Anuj Dhawan
Hi and welcome to the site,

I've not used session manager in ages. Do you really need to use Session Manager to do this? Possibly, you use ISPF 3.3 instead?

Re: tso copy in the foreground

Posted: Thu Feb 11, 2021 6:14 pm
by dot1q3
sometimes i just want to copy a single dataset w/o going to a panel or batch job. just want to do on the command line. i think tso copy also works

Re: tso copy in the foreground

Posted: Thu Feb 11, 2021 6:52 pm
by Anuj Dhawan
Yes, TSO COPY is another option. I'm fond of ISPF 3.3 though.