Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Copy some files and floders form HFS in a Z/os to another

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
kick
Warnings : 1

New User


Joined: 12 Apr 2005
Posts: 24
Location: shanghai china

PostPosted: Wed Oct 19, 2005 2:52 pm    Post subject: Copy some files and floders form HFS in a Z/os to another
Reply with quote

hi, guys

i want to copy some files and floders form HFS in a Z/os to another.


what can i do ?? i create a shell to tar the files , but i don't know how to

execute this shell in ishell enviorment . '


thanks & regars.

kick
Back to top
View user's profile Send private message

Paddy

New User


Joined: 12 Sep 2005
Posts: 46
Location: Paris France

PostPosted: Wed Oct 19, 2005 6:28 pm    Post subject:
Reply with quote

Hi kick,

You can copy the files from HFS to PDS or Sequential dataset in Z/OS easy whit JCL like this

//MYJOB JOB 1,'PADDY',MSGLEVEL=(1,1),CLASS=A,
// MSGCLASS=H,NOTIFY=&SYSUID,TIME=1439
//*
//COPYSTEP EXEC PGM=IKJEFT01
//*
//OUTMVS DD DSN=MY.PDS(MYMEMBER),DISP=SHR
//INHFS DD PATH='/MYDIRECTORY',
// PATHDISP=(KEEP,DELETE),
// PATHOPTS=(ORDWR,OCREAT,OAPPEND),PATHMODE=(SIRUSR,SIWUSR)
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
OCOPY INDD(INHFS) OUTDD(OUTMVS) TEXT CONVERT(YES) PATHOPTS(USE)

Regards, I hope help you.

Paddy
Back to top
View user's profile Send private message
kick
Warnings : 1

New User


Joined: 12 Apr 2005
Posts: 24
Location: shanghai china

PostPosted: Fri Oct 21, 2005 7:24 am    Post subject:
Reply with quote

hi, guy

i want to copy the file from HFS of a mainframe to another HFS of another mainframe .

can i use this job to copy the pds(member) of ps to HFS ??



thanks & regards.

kick
Back to top
View user's profile Send private message
kick
Warnings : 1

New User


Joined: 12 Apr 2005
Posts: 24
Location: shanghai china

PostPosted: Fri Oct 21, 2005 1:42 pm    Post subject:
Reply with quote

hi, guy

i use your jcl to copy the HFS to PDS or PS ,

the RC == 0 , but the file of MVS is a null file .

can you tell me why ??


thanks & regards.

kick
Back to top
View user's profile Send private message
seshareddy_p

New User


Joined: 16 Jun 2005
Posts: 7

PostPosted: Mon Oct 24, 2005 10:44 pm    Post subject:
Reply with quote

Hi, guys

can u explain, what is HFS
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Tue Oct 25, 2005 5:40 am    Post subject: Re: Copy some files and floders form HFS in a Z/os to anothe
Reply with quote

HFS is the (Unix) Hierarchical File System. You can look here for more details:

http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dgt2d430/3.9?DT=20040624112123
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 5 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us