View previous topic :: View next topic
|
Author |
Message |
kick Warnings : 1 New User
Joined: 12 Apr 2005 Posts: 24 Location: shanghai china
|
|
|
|
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 |
|
|
Paddy
New User
Joined: 12 Sep 2005 Posts: 46 Location: Paris France
|
|
|
|
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 |
|
|
kick Warnings : 1 New User
Joined: 12 Apr 2005 Posts: 24 Location: shanghai china
|
|
|
|
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 |
|
|
kick Warnings : 1 New User
Joined: 12 Apr 2005 Posts: 24 Location: shanghai china
|
|
|
|
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 |
|
|
seshareddy_p
New User
Joined: 16 Jun 2005 Posts: 7
|
|
|
|
Hi, guys
can u explain, what is HFS |
|
Back to top |
|
|
Kevin
Active User
Joined: 25 Aug 2005 Posts: 234
|
|
Back to top |
|
|
|