Do CD to a PDS it needs to be in quotes.  For example...

cd 'fjs.work.cobol'
get pgm1 pgm1.cob

If you don't use the quotes it treats it as an OMVS directory, not an MVS 
dataset.
-- 

Frank Swarbrick
Applications Architect - Mainframe Applications Development
FirstBank Data Corporation
Lakewood, CO  USA
P: 303-235-1403
F: 303-235-2075


On 6/25/2009 at 9:47 AM, in message
<[email protected]>, willie bunter
<[email protected]> wrote:
> Lionel,
>  
> I am trying to use your suggestion but I am having a few problems getting 
> started.  Could you elaborate on the following:
>  
> then ftp to the mainframe:  I am not sure what I need to FTP.  Could I use a 
> preallocated pds?
> 
> change directory (cd) to the pds:  I tried this command.  I did a CD PDS.  
> However I got a "the System cannot find the path specified.
> 
> turn prompting off (prompt): What would be the command to turn prompting 
> off?
>  
> Sorry to ask such fundamental questions.  I am green at this.
>  
> Thanks again for your help.
> 
> 
> 
> --- On Wed, 10/29/08, Lionel B Dyck <[email protected]> wrote:
> 
> 
> From: Lionel B Dyck <[email protected]>
> Subject: Re: FTP MEMBERS FROM PC TO MAINFRAME (HOW TO)
> To: [email protected] 
> Received: Wednesday, October 29, 2008, 1:23 PM
> 
> 
> First make sure the file names on your PC are just the member name (not 
> member.jcl)
> 
> then ftp to the mainframe
> 
> change directory (cd) to the pds
> 
> turn prompting off (prompt)
> 
> then use MPUT * to put all of the files in the current directory to the 
> pds
> 
> Lionel B. Dyck, Consultant/Specialist 
> Enterprise Platform Services, Mainframe Engineering 
> KP-IT Enterprise Engineering 
> 925-926-5332 (8-473-5332) | E-Mail: [email protected] 
> AIM: lbdyck | Yahoo IM: lbdyck 
> Kaiser Service Credo: "Our cause is health. Our passion is service. We're 
> here to make lives better." 
> 
> I never guess. It is a capital mistake to theorize before one has data. 
> Insensibly one begins to twist facts to suit theories, instead of theories 
> to suit facts. 
> - Sir Arthur Conan Doyle 
> 
> NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail, 
> you are prohibited from sharing, copying, or otherwise using or disclosing 
> its contents. If you have received this e-mail in error, please notify the 
> sender immediately by reply e-mail and permanently delete this e-mail and 
> any attachments without reading, forwarding or saving them. Thank you. 
> 
> 
> 
> 
> From:
> Howard Rifkind <[email protected]>
> To:
> [email protected] 
> Date:
> 10/29/2008 01:16 PM
> Subject:
> FTP MEMBERS FROM PC TO MAINFRAME (HOW TO)
> Sent by:
> IBM Mainframe Discussion List <[email protected]>
> 
> 
> 
> Hello all,
> 
> I have a whole bunch of JCL files on my PC and would like to get them over 
> to a library in my user id in z/OS.
> 
> I could do this one member at a time but it would take forever.
> 
> Any suggestions how to do all the members in one fell swoop would be 
> appreciated. 
> 
> Thanks.
> _____________
> LEGAL NOTICE
> Unless expressly stated otherwise, this message is confidential
> and may be privileged. It is intended for the addressee(s) only.
> Access to this E-mail by anyone else is unauthorized.
> If you are not an addressee, any disclosure or copying of the
> contents of this E-mail or any action taken (or not taken) in
> reliance on it is unauthorized and may be unlawful. If you are not an
> addressee, please inform the sender immediately, then delete this
> message and empty from your trash.
> 
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html 
> 
> 
> 
> 
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html 
> 
> 
> 
> 
>       __________________________________________________________________
> Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
> favourite sites. Download it now
> http://ca.toolbar.yahoo.com.
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html

>>> 

The information contained in this electronic communication and any document 
attached hereto or transmitted herewith is confidential and intended for the 
exclusive use of the individual or entity named above.  If the reader of this 
message is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient, you are hereby notified that any 
examination, use, dissemination, distribution or copying of this communication 
or any part thereof is strictly prohibited.  If you have received this 
communication in error, please immediately notify the sender by reply e-mail 
and destroy this communication.  Thank you.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to