You are going to get a bunch of replies to this.

The CD command must be lower case.  Unix is very picky about case.

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Britz, Anton - CO 7th
Sent: Friday, July 27, 2007 9:06 AM
To: [email protected]
Subject: Re: Coping a MVS file to Linux


Hi,

Thanks for all the responses and here comes the other pieces of the
"puzzle:

A) How the LINUX environment is setup :

Extract from an internal email :
The Linux server now has a mount to this middleman area located at
/mnt/hwwd_hfs 

This means that on your Linux server, when you look at /mnt/hwwd_hfs you
are looking at your /hwwd middleman area.  
Any directories you create or datasets you copy there will be viewable
and editable from linux. 

This allows you to not need to transfer files out of z/OS to Linux, but
merely copy them to an middleman area in z/OS for viewing and loading
into MySQL, they may then be deleted on an organized or periodic basis.

Any changes to this middleman area can be contained in z/OS jobs (using
OSHELL commands or OPUT commands) or Linux Scripts (using standard Linux
commands), this allows you to choose many ways to utilize this middleman
area.   

B) Additional Questions

When I start OMVS via TSO, I can do all the UNIX commands but if I run a
batch job with the following JCL, I get the following back :

READY                      
  OSHELL CD hwwd           
 OSHELL RC =  32512        
                           
 OSHELL Exit Status =  127 

CD: FSUM7351 not found 
                       

32512 One of the following conditions may have resulted:  

The SH keyword was specified with a program_name value for BPXBATCH and
no program_name could be found. 
The shell exited with an exit status of 127. stdout contains a shell
message indicating the program was not found.  

The program_name or the shell exited with an exit status of 127.

//SETUP    EXEC PGM=IKJEFT01             
//SYSTSPRT DD SYSOUT=*                   
//SYSEXEC  DD DISP=SHR,DSN=SYS1.SBPXEXEC 
//SYSTSIN  DD *                          
  OSHELL CD hwwd                             
/*                                       


Anton 
 

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Yu
Safin
Sent: Thursday, July 26, 2007 1:25 PM
To: [email protected]
Subject: Re: Coping a MVS file to Linux

On 7/26/07, Britz, Anton - CO 7th <[EMAIL PROTECTED]> wrote:
> Hi,
>
> My Developers are asking me the following :
>
>
> I am having a problem figuring out the JCL to do the copy from z/os to

> the 'linux' file on the shared partition.
>
>  Do you recall any details?
>
>
>
>  The MVS job should like much like the z/os I think?
>
>
>
>
> The information contained in this email may be privileged,
confidential or otherwise protected from disclosure.  All persons are
advised that they may face penalties under state and federal law for
sharing this information with unauthorized individuals.  If you received
this email in error, please reply to the sender that you have received
this information in error.  Also, please delete this email after
replying to the sender.
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions, send 
> email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or 
> visit http://www.marist.edu/htbin/wlvindex?LINUX-390
>
if the file system is NFS mounted to zOS from Linux (or viceversa), just
use JCL the same way you do for USS files with something as simple as a
gener utility.
May be I am missing something more significant in this question.

--
Yours truly,
Yu

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit http://www.marist.edu/htbin/wlvindex?LINUX-390
The information contained in this email may be privileged, confidential or 
otherwise protected from disclosure.  All persons are advised that they may 
face penalties under state and federal law for sharing this information with 
unauthorized individuals.  If you received this email in error, please reply to 
the sender that you have received this information in error.  Also, please 
delete this email after replying to the sender.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to