Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FTP to USS directory

1,461 views
Skip to first unread message

zos reader

unread,
Apr 15, 2015, 11:33:06 AM4/15/15
to
Good morning All..!!

I have more number of PTF's to be applied for CA common services.
Initiallyi downloaded CAR2014 in zip file format and i was not able to
UNZIP using CAUNZIP utility due to missing PTF's.
Also CAUNZIP utility is not supporting and for that too i need to apply few
more PTF's.
Now I have downloaded the the PTF's in PAX.Z format in my PC and i need to
transfer as bin to USS directory.
Can anyone please help me out with the jcl or process for transferring
from PC to USS directory or anyother way for FTP'ing

Thanks,
Samat

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

Barkow, Eileen

unread,
Apr 15, 2015, 11:41:49 AM4/15/15
to
If your pc is running windows:

1. run C:\WINDOWS\system32\cmd.exe from start command
2. cd to directory of pax files
3. ftp hostname.of lpar (ftp server must be running)
4. enter userid and password as called for
5. bin
6. put file.PAX.Z /ussdir/file.PAX.Z.
7. bye

This assumes that you can use non-secure ftp to host.
Otherwise, other ftp programs like ftps are needed.

Lizette Koehler

unread,
Apr 15, 2015, 12:29:20 PM4/15/15
to
Are you not using the CA Tool MSM or CA Chorus MSM to do your installs? That product takes some of the pain out of this process.

Lizette


> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-...@LISTSERV.UA.EDU]
> On Behalf Of zos reader
> Sent: Wednesday, April 15, 2015 8:33 AM
> To: IBM-...@LISTSERV.UA.EDU
> Subject: FTP to USS directory
>

Paul Gilmartin

unread,
Apr 15, 2015, 4:32:38 PM4/15/15
to
On 2015-04-15 09:32, zos reader wrote:
> Good morning All..!!
>
> I have more number of PTF's to be applied for CA common services.
> Initiallyi downloaded CAR2014 in zip file format and i was not able to
> UNZIP using CAUNZIP utility due to missing PTF's.
>
What zip files did you get, and how many?

Can you download directly to z/OS?

On the PC (if you have nothing better than Windows):

ftp ZOS
cd /unix/directory
binary
put file1.zip
put file2.zip
...
put filen.zip
close

Then use the "jar" command to unzip them.

> Also CAUNZIP utility is not supporting and for that too i need to apply few
> more PTF's.
> Now I have downloaded the the PTF's in PAX.Z format in my PC and i need to
> transfer as bin to USS directory.
> Can anyone please help me out with the jcl or process for transferring
> from PC to USS directory or anyother way for FTP'ing
>
Again, use the process above. There may be many PAX.Z files.
you may need to use the mkdir command to create intermediate level
directories. This is all easier with the z/OS UNIX shell. In
JCL, you can use the BPXBATCH program to issue shell commands.

-- gil

Meenakshi, Vinoth - CW

unread,
Apr 15, 2015, 10:03:26 PM4/15/15
to
Thanks Paul & Eileen, it worked I have transferred the pax files.

Lizette, we are not using it in our shop, we will try to implement in near future.

Thanks All..!!

Longabaugh, Robert E

unread,
Apr 16, 2015, 12:01:28 PM4/16/15
to
Yes, you can download directly to your z/OS system.

When you are in the Download Cart area of CA Support Online, you can select either "Preferred FTP" or "Alternate FTP".
Support Online then displays some FTP commands which you can cut and paste into your FTP JCL. It basically signs you into the FTP server, takes you to the directory for your order, and issues a GET command.

//FTP EXEC PGM=FTP get the pax from CSO
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//INPUT DD *
scftpd.ca.com
anonymous use...@yoursite.com
cd /ftp/orders/999999/12345678
binary
get C50000XGF00.pax.Z /a/yourdirectory/C50000XGF00.pax.Z << this PAX is CA Allocate
quit
//

The line with "cd" takes you to the directory on our server. Use whatever Support Online generates for you.
In the line with "get", the first "C50000XGF00.pax.Z" is the name on our server, so don't change that. The "/a/yourdirectory/" is information that exists at your site and you will need to change it to something that exists on your z/OS system.

If I have time to look later, and I remember to do this, I will try to find a link to a good explanation of all of this on CA Support Online, especially if it shows you what Support Online displays for the FTP commands.


Bob Longabaugh
CA Technologies
Quality Assurance, Storage Management

Longabaugh, Robert E

unread,
Apr 16, 2015, 3:47:43 PM4/16/15
to
Here is a video which includes downloading a product from CA Support Online directly to z/OS. The z/OS download starts at about 4:50 and ends at 6:56. The first download example is TSO prompt and then a batch download example is given.

http://www.ca.com/us/support/ca-support-online/product-content/knowledgebase-articles/tec491839.aspx

Scott Barry

unread,
Apr 16, 2015, 3:51:26 PM4/16/15
to
The PAX ESD Guide on SUPPORT.CA.COM (CA SUPPORT ONLINE), Downloads site is quite lean with the FTP example, presuming the reader has sufficient knowledge / experience with retrieving to USS directly, as compared to traditional MVS dataset retrieval. As well, some of the other "Download Help" references / links there are minimally helpful or non-existent (...check back often... as I recall seeing)

Scott Barry
SBBWorks, Inc.

zos reader

unread,
Apr 21, 2015, 7:40:47 AM4/21/15
to
The Video is awesome. Thanks All for your help..

Is there any other alternate way to Transfer the scartX,zip file directly
to Mainframe PDS member and apply the CAR2014 for CA1 instead of
transferring to USS directory and then unzip the file and apply the CAR.

I'm facing a problem with CAUNZIP utiity to unzip the scartX.zip file and
thats stopping all CA CAR maintanenece for all PRODS.

Kindly guide me to move forward.

Thanks,
Samat

Longabaugh, Robert E

unread,
Apr 23, 2015, 5:22:41 PM4/23/15
to
The CAUNZIP utility uses a capability from CA Common Services. The required level to use that capability is
"CA Common Services Version 14.0 with PTF RO54887 or CA Common Services Release 14.1 with PTF RO54635 and RO58216 applied"

If Common Services is at this level, then CAUNZIP should work correctly.

The alternate to using CAUNZIP would be to unzip on your PC and then send each file to the mainframe via the FTP commands which Eileen Barkow gave an example of earlier.

You could also try IND$FILE to transfer the unzipped file from a PC to z/OS. When I had Attachmate as the 3270 emulator, it was fairly easy to get the IND$FILE commands to take the individual PC binary files and write them to a sequential SMPPTFIN file on the mainframe. For other emulators, the FTP transfer may be easier.

If none of those fit your needs, it may help to contact CA Technical Support for the product you are updating.

Bob Longabaugh
CA Technologies
Storage Management QA

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-...@LISTSERV.UA.EDU] On Behalf Of zos reader
Sent: Tuesday, April 21, 2015 6:41 AM
To: IBM-...@LISTSERV.UA.EDU
Subject: Re: FTP to USS directory

Paul Gilmartin

unread,
Apr 23, 2015, 5:43:15 PM4/23/15
to
On 2015-04-23 15:22, Longabaugh, Robert E wrote:
> ...
> The alternate to using CAUNZIP would be to unzip on your PC and then send each file to the mainframe via the FTP commands which Eileen Barkow gave an example of earlier.
>
My first approach would be to transfer the .zip file entire to the mainframe
and use the "jar" command to extract it.

Second would be to unzip on the desktop and use the "pax" command in
Cygwin or Linux to make a .pax archive which is more familiar to z/OS.

Really, though, if CA is going to be in the mainframe software business,
CA ought to package its mainframe products in a format conventional for
the mainframe, i.e. .pax.Z rather than .zip.

-- gil

Timothy Sipples

unread,
Apr 24, 2015, 12:36:04 AM4/24/15
to
Robert Longabaugh wrote:
>The alternate to using CAUNZIP would be to unzip on your PC and
>then send each file to the mainframe via the FTP commands which
>Eileen Barkow gave an example of earlier.

One alternative. If you can unzip the file(s) on a PC then, assuming a
standard "zip" format, you should be able to unzip them on z/OS through
alternate means. One common one is the jar command, provided with the no
additional charge IBM SDK Java Technology Edition for z/OS that most of you
probably already have somewhere on your z/OS system. (It's at least getting
very difficult not to have the SDK somewhere in newer releases of z/OS.)

For example, to unzip a file using the jar command type these commands at a
z/OS UNIX System Services prompt:

cd /where-you/want-it
jar xf /path-to/my-file.zip

You might have to put a path in front of the jar command if it's not
already listed in your PATH. The cd directory (/where-you/want-it in this
example) is some real directory where you have write permission.

--------------------------------------------------------------------------------------------------------
Timothy Sipples
IT Architect Executive, Industry Solutions, IBM z Systems, AP/GCG/MEA
E-Mail: sip...@sg.ibm.com
0 new messages