Re: Copying HFS Files

2013-03-17 Thread Shmuel Metz (Seymour J.)
In
,
on 03/15/2013
   at 12:46 PM, Leonard Sasso  said:

>What program can be used to copy a HFS file to a MVS Data Set?

Do you mean a Unix file in an HFS or do you mean an HFS itself? Do you
mean a batch utility, a TSO command or a Unix command? You can use the
Unix xp command to copy a Unix file to a legacy MVS file, but if the
MVS file is a GDS then you must specify the absolute name rather than
base(generation).

-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 Atid/2
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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Copying HFS Files

2013-03-15 Thread Rob Schramm
Ocopy

Rob Schramm
On Mar 15, 2013 2:00 PM, "Paul Gilmartin"  wrote:

> On Fri, 15 Mar 2013 17:26:16 +, Leonardo Vaz  wrote:
>
> >You could use the omvs command cp:
> >
> http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/bpxza5b0/CP?SHELF=EZ2ZBK0K&DT=20100625104946
> >
> But in a multi-step job, beware the hazards mentioned in the
> "FSUM6259" thread in progress here.
>
> >-Original Message-
> >From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Leonard Sasso
> >Sent: Friday, March 15, 2013 12:47 PM
> >
> >What program can be used to copy a HFS file to a MVS Data Set?
>
> -- gil
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Copying HFS Files

2013-03-15 Thread Paul Gilmartin
On Fri, 15 Mar 2013 17:26:16 +, Leonardo Vaz  wrote:

>You could use the omvs command cp:
>http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/bpxza5b0/CP?SHELF=EZ2ZBK0K&DT=20100625104946
>
But in a multi-step job, beware the hazards mentioned in the
"FSUM6259" thread in progress here.

>-Original Message-
>From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On 
>Behalf Of Leonard Sasso
>Sent: Friday, March 15, 2013 12:47 PM
>
>What program can be used to copy a HFS file to a MVS Data Set?

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Copying HFS Files

2013-03-15 Thread John McKown
IMO, the simplest way is to use IEBGENER.

//COPYUNIX EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD PATH='/path/to/unix.file',
// PATHOPTS=(ORDONLY),
// RECFM=?,LRECL=?,BLKSIZE=?,
// FILEDATA=TEXT
//SYSUT2 DD DSN=NEW.ZOS.DSN,
// RECFM=?,LRECL=?,BLKSIZE=?,
// SPACE=(CYL,(1,20),RLSE),
// UNIT=SYSDA

Just fill in the appropriate values for RECFM, LRECL, BLKSIZE, and SPACE.

There are TSO commands such as OCOPY and OGET. Also, the "cp" command for
the z/OS UNIX shell. But IEBGENER is the simplest JCL way to do it.


On Fri, Mar 15, 2013 at 11:46 AM, Leonard Sasso  wrote:

> What program can be used to copy a HFS file to a MVS Data Set?
>
>
> Thank You.
>
> Len Sasso
> RDC Applications Management - System Administrator, Senior Professional
> Backup QMR
> CSC
>
> 327 Columbia Turnpike, Rensselaer NY 12144
> National Infrastructure Services (NIS) | t: 518.257-4209 | m: 518.894-0879
> | f: 518.257-4300 | lsa...@csc.com | www.csc.com
>
>
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit
> written agreement or government initiative expressly permitting the use of
> e-mail for such purpose.
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>



-- 
This is a test of the Emergency Broadcast System. If this had been an
actual emergency, do you really think we'd stick around to tell you?

Maranatha! <><
John McKown

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Copying HFS Files

2013-03-15 Thread Leonardo Vaz
You could use the omvs command cp:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/bpxza5b0/CP?SHELF=EZ2ZBK0K&DT=20100625104946


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Leonard Sasso
Sent: Friday, March 15, 2013 12:47 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Copying HFS Files

What program can be used to copy a HFS file to a MVS Data Set?


Thank You.

Len Sasso
RDC Applications Management - System Administrator, Senior Professional Backup 
QMR CSC

327 Columbia Turnpike, Rensselaer NY 12144 National Infrastructure Services 
(NIS) | t: 518.257-4209 | m: 518.894-0879 
| f: 518.257-4300 | lsa...@csc.com | www.csc.com



This is a PRIVATE message. If you are not the intended recipient, please delete 
without copying and kindly advise us by e-mail of the mistake in delivery. 
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any 
order or other contract unless pursuant to explicit written agreement or 
government initiative expressly permitting the use of e-mail for such purpose.

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Copying HFS Files

2013-03-15 Thread Paul Gilmartin
On Fri, 15 Mar 2013 12:46:36 -0400, Leonard Sasso wrote:

>What program can be used to copy a HFS file to a MVS Data Set?
> 
Often I use IEBGENER with PATH and FILEDATA options on SYSUT1.

(Later mention of dfdss and fdr suggest I misunderstand "HFS file".)

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Copying HFS Files

2013-03-15 Thread Leonard Sasso
Batch process, Dfdss.


Thank You.

Len Sasso
RDC Applications Management - System Administrator, Senior Professional
Backup QMR
CSC

327 Columbia Turnpike, Rensselaer NY 12144
National Infrastructure Services (NIS) | t: 518.257-4209 | m: 518.894-0879 
| f: 518.257-4300 | lsa...@csc.com | www.csc.com



This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. NOTE: Regardless of content, this e-mail shall not operate to 
bind CSC to any order or other contract unless pursuant to explicit 
written agreement or government initiative expressly permitting the use of 
e-mail for such purpose.



From:   Lizette Koehler 
To: IBM-MAIN@LISTSERV.UA.EDU
Date:   03/15/2013 12:50 PM
Subject:Re: Copying HFS Files
Sent by:IBM Mainframe Discussion List 



Batch process or under ispf?  Look at option 3.17 in ispf

Dfdss.  Or. Fdr?

Lizette

-Original Message-
>From: Leonard Sasso 
>Sent: Mar 15, 2013 9:46 AM
>To: IBM-MAIN@LISTSERV.UA.EDU
>Subject: Copying HFS Files
>
>What program can be used to copy a HFS file to a MVS Data Set?
>
>
>Thank You.
>
>Len Sasso
>RDC Applications Management - System Administrator, Senior Professional
>Backup QMR
>CSC
>
>327 Columbia Turnpike, Rensselaer NY 12144
>National Infrastructure Services (NIS) | t: 518.257-4209 | m: 
518.894-0879 
>| f: 518.257-4300 | lsa...@csc.com | www.csc.com
>
>
>
>This is a PRIVATE message. If you are not the intended recipient, please 
>delete without copying and kindly advise us by e-mail of the mistake in 
>delivery. NOTE: Regardless of content, this e-mail shall not operate to 
>bind CSC to any order or other contract unless pursuant to explicit 
>written agreement or government initiative expressly permitting the use 
of 
>e-mail for such purpose.
>
>--
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Copying HFS Files

2013-03-15 Thread Lizette Koehler
Batch process or under ispf?  Look at option 3.17 in ispf

Dfdss.  Or. Fdr?

Lizette

-Original Message-
>From: Leonard Sasso 
>Sent: Mar 15, 2013 9:46 AM
>To: IBM-MAIN@LISTSERV.UA.EDU
>Subject: Copying HFS Files
>
>What program can be used to copy a HFS file to a MVS Data Set?
>
>
>Thank You.
>
>Len Sasso
>RDC Applications Management - System Administrator, Senior Professional
>Backup QMR
>CSC
>
>327 Columbia Turnpike, Rensselaer NY 12144
>National Infrastructure Services (NIS) | t: 518.257-4209 | m: 518.894-0879 
>| f: 518.257-4300 | lsa...@csc.com | www.csc.com
>
>
>
>This is a PRIVATE message. If you are not the intended recipient, please 
>delete without copying and kindly advise us by e-mail of the mistake in 
>delivery. NOTE: Regardless of content, this e-mail shall not operate to 
>bind CSC to any order or other contract unless pursuant to explicit 
>written agreement or government initiative expressly permitting the use of 
>e-mail for such purpose.
>
>--
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Copying HFS Files

2013-03-15 Thread Leonard Sasso
What program can be used to copy a HFS file to a MVS Data Set?


Thank You.

Len Sasso
RDC Applications Management - System Administrator, Senior Professional
Backup QMR
CSC

327 Columbia Turnpike, Rensselaer NY 12144
National Infrastructure Services (NIS) | t: 518.257-4209 | m: 518.894-0879 
| f: 518.257-4300 | lsa...@csc.com | www.csc.com



This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. NOTE: Regardless of content, this e-mail shall not operate to 
bind CSC to any order or other contract unless pursuant to explicit 
written agreement or government initiative expressly permitting the use of 
e-mail for such purpose.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN