Re: Using HTTPS from JCL for file download?

2021-11-19 Thread Paul Gilmartin
On Nov 19, 2021, at 13:15:46, Kurt J. Quackenbush wrote:
>  
>...  I expect some folks 
> will chime in to recommend CURL or similar, but you'll have to obtain, 
> install,
>  
See: 
The hard part may be dealing with IT administrators who feel the
price is unacceptable.

>   ... and configure that if you don't already have it.
>  
"configure"?  Just put it in your executable search path.
Everything else is in the (too many?) command line options.

> ... You could use 
> the HTTP Web Enablement Toolkit to write your own client program even in 
> REXX, but out of the box a fully functional HTTPS client program is not 
> readily available.

-- gil

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


Re: Using HTTPS from JCL for file download?

2021-11-19 Thread Paul Gilmartin
On Fri, 19 Nov 2021 15:00:38 -0500, Billy Ashton wrote:

>Hi all, I am back!
> 
Welcome!

>...
>So...can this be done? Can a batch JCL job run HTTPS to do file
>downloads? If so, can you help a brother out and let me see how you do
>it, so I can see if we can do it here?
>

(with examples)

Probably requires a BPXBATCH or IRXJCL/BPXWUNIX wrapper.

-- gil

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


Re: Using HTTPS from JCL for file download?

2021-11-19 Thread Kurt J. Quackenbush
> Carmen, I'd be thrilled to see your samples, as I can't get to my ShopZ 
> person here at the moment. Please make sure to strip your user/password 
> stuff, so I don't get you in trouble!

If your question is specific to SMP/E file downloads using HTTPS, then 
check this out:
https://www.ibm.com/docs/en/zos/2.5.0?topic=guide-preparing-secure-internet-delivery


The short answer is just add these to your  specification and let 
'er rip:
  downloadmethod=”https”
  downloadkeyring=”javatruststore”

However, if your question was for a general use HTTPS download client 
program, then see my previous post.

Kurt Quackenbush -- IBM, z/OS SMP/E and z/OSMF Software Management
Chuck Norris never uses CHECK when he applies PTFs.


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


Re: Using HTTPS from JCL for file download?

2021-11-19 Thread Carmen Vitullo
sure, if this is what you would like to see, I'll shoot this to you off 
list



Carmen

On 11/19/2021 2:17 PM, Billy Ashton wrote:
Carmen, I'd be thrilled to see your samples, as I can't get to my 
ShopZ person here at the moment. Please make sure to strip your 
user/password stuff, so I don't get you in trouble!

Billy

Carmen Vitullo wrote on 11/19/2021 15:13:

I use HTTPS from batch JCL, it works very well .

IBM provides this option on shopz once your order is placed.

my company requires us to go thru the proxy server so I have to 
provide my LAN ID and Password to pass thru the proxy


I can provide some sample JCL but that JCL is the same as what IBM 
provides on Shopz, your site requirements I'm sure are different, 
I've been as site that do not require me to use the proxy , both 
options work well.



Carmen

On 11/19/2021 2:00 PM, Billy Ashton wrote:

Hi all, I am back!
After successfully getting my FTPS and SFTP JCL set up and working 
right here, some manager got a bee in his bonnet to say that he 
wanted to use HTTPS protocol from his JCL, because he read that 
HTTPS was the best way to go. I tried to explain that HTTPS was 
meant for browser applications, and that some special application 
would be needed to process the HTTPS headers and data, but he 
insisted I try to find a way to make HTTPS work from JCL.


So...can this be done? Can a batch JCL job run HTTPS to do file 
downloads? If so, can you help a brother out and let me see how you 
do it, so I can see if we can do it here?


I appreciate this group - if it can be known, someone here will know 
it!

Billy

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




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


--
/I am not bound to win, but I am bound to be true. I am not bound to 
succeed, but I am bound to live by the light that I have. I must stand 
with anybody that stands right, and stand with him while he is right, 
and part with him when he goes wrong. *Abraham Lincoln*/


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


Re: Using HTTPS from JCL for file download?

2021-11-19 Thread Carmen Vitullo
I forgot about that fact Kurt, I was thinking this was possible without 
SMP/E in the mix


Carmen

On 11/19/2021 2:15 PM, Kurt J. Quackenbush wrote:

After successfully getting my FTPS and SFTP JCL set up and working right
here, some manager got a bee in his bonnet to say that he wanted to use
HTTPS protocol from his JCL, because he read that HTTPS was the best way
to go. I tried to explain that HTTPS was meant for browser applications,
and that some special application would be needed to process the HTTPS
headers and data, but he insisted I try to find a way to make HTTPS work
from JCL.

So...can this be done? Can a batch JCL job run HTTPS to do file
downloads? If so, can you help a brother out and let me see how you do
it, so I can see if we can do it here?

The issue is you need an HTTPS client program to run in a job step.
Supplied with the z/OS base there is no HTTPS client program equivalent to
the z/OS Comm Server FTP client program.  Some applications, like SMP/E,
have a built-in HTTPS client program to perform file download, but it is
specific for use by SMP/E and not for general use.  I expect some folks
will chime in to recommend CURL or similar, but you'll have to obtain,
install, and configure that if you don't already have it.  You could use
the HTTP Web Enablement Toolkit to write your own client program even in
REXX, but out of the box a fully functional HTTPS client program is not
readily available.

Kurt Quackenbush
IBM -- z/OS SMP/E and z/OSMF Software Management
Chuck Norris never uses CHECK when he applies PTFs.



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


--
/I am not bound to win, but I am bound to be true. I am not bound to 
succeed, but I am bound to live by the light that I have. I must stand 
with anybody that stands right, and stand with him while he is right, 
and part with him when he goes wrong. *Abraham Lincoln*/


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


Re: Using HTTPS from JCL for file download?

2021-11-19 Thread Billy Ashton
Carmen, I'd be thrilled to see your samples, as I can't get to my ShopZ 
person here at the moment. Please make sure to strip your user/password 
stuff, so I don't get you in trouble!

Billy

Carmen Vitullo wrote on 11/19/2021 15:13:

I use HTTPS from batch JCL, it works very well .

IBM provides this option on shopz once your order is placed.

my company requires us to go thru the proxy server so I have to 
provide my LAN ID and Password to pass thru the proxy


I can provide some sample JCL but that JCL is the same as what IBM 
provides on Shopz, your site requirements I'm sure are different, I've 
been as site that do not require me to use the proxy , both options 
work well.



Carmen

On 11/19/2021 2:00 PM, Billy Ashton wrote:

Hi all, I am back!
After successfully getting my FTPS and SFTP JCL set up and working 
right here, some manager got a bee in his bonnet to say that he 
wanted to use HTTPS protocol from his JCL, because he read that HTTPS 
was the best way to go. I tried to explain that HTTPS was meant for 
browser applications, and that some special application would be 
needed to process the HTTPS headers and data, but he insisted I try 
to find a way to make HTTPS work from JCL.


So...can this be done? Can a batch JCL job run HTTPS to do file 
downloads? If so, can you help a brother out and let me see how you 
do it, so I can see if we can do it here?


I appreciate this group - if it can be known, someone here will know it!
Billy

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




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


Re: Using HTTPS from JCL for file download?

2021-11-19 Thread Kurt J. Quackenbush
> After successfully getting my FTPS and SFTP JCL set up and working right 

> here, some manager got a bee in his bonnet to say that he wanted to use 
> HTTPS protocol from his JCL, because he read that HTTPS was the best way 

> to go. I tried to explain that HTTPS was meant for browser applications, 

> and that some special application would be needed to process the HTTPS 
> headers and data, but he insisted I try to find a way to make HTTPS work 

> from JCL.
> 
> So...can this be done? Can a batch JCL job run HTTPS to do file 
> downloads? If so, can you help a brother out and let me see how you do 
> it, so I can see if we can do it here?

The issue is you need an HTTPS client program to run in a job step. 
Supplied with the z/OS base there is no HTTPS client program equivalent to 
the z/OS Comm Server FTP client program.  Some applications, like SMP/E, 
have a built-in HTTPS client program to perform file download, but it is 
specific for use by SMP/E and not for general use.  I expect some folks 
will chime in to recommend CURL or similar, but you'll have to obtain, 
install, and configure that if you don't already have it.  You could use 
the HTTP Web Enablement Toolkit to write your own client program even in 
REXX, but out of the box a fully functional HTTPS client program is not 
readily available.

Kurt Quackenbush
IBM -- z/OS SMP/E and z/OSMF Software Management 
Chuck Norris never uses CHECK when he applies PTFs.



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


Re: Using HTTPS from JCL for file download?

2021-11-19 Thread Carmen Vitullo

I use HTTPS from batch JCL, it works very well .

IBM provides this option on shopz once your order is placed.

my company requires us to go thru the proxy server so I have to provide 
my LAN ID and Password to pass thru the proxy


I can provide some sample JCL but that JCL is the same as what IBM 
provides on Shopz, your site requirements I'm sure are different, I've 
been as site that do not require me to use the proxy , both options work 
well.



Carmen

On 11/19/2021 2:00 PM, Billy Ashton wrote:

Hi all, I am back!
After successfully getting my FTPS and SFTP JCL set up and working 
right here, some manager got a bee in his bonnet to say that he wanted 
to use HTTPS protocol from his JCL, because he read that HTTPS was the 
best way to go. I tried to explain that HTTPS was meant for browser 
applications, and that some special application would be needed to 
process the HTTPS headers and data, but he insisted I try to find a 
way to make HTTPS work from JCL.


So...can this be done? Can a batch JCL job run HTTPS to do file 
downloads? If so, can you help a brother out and let me see how you do 
it, so I can see if we can do it here?


I appreciate this group - if it can be known, someone here will know it!
Billy

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


--
/I am not bound to win, but I am bound to be true. I am not bound to 
succeed, but I am bound to live by the light that I have. I must stand 
with anybody that stands right, and stand with him while he is right, 
and part with him when he goes wrong. *Abraham Lincoln*/


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


Re: EXTERNAL EMAIL: Using HTTPS from JCL for file download?

2021-11-19 Thread Jerry Whitteridge
If you have curl you can use the HTTP protocol and I've run curl in batch 
previously

Jerry Whitteridge
jerry.whitteri...@albertsons.com
Manager Mainframe Systems & HP Non-Stop
Albertsons Companies

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Billy Ashton
Sent: Friday, November 19, 2021 1:01 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: EXTERNAL EMAIL: Using HTTPS from JCL for file download?

Hi all, I am back!
After successfully getting my FTPS and SFTP JCL set up and working right
here, some manager got a bee in his bonnet to say that he wanted to use
HTTPS protocol from his JCL, because he read that HTTPS was the best way
to go. I tried to explain that HTTPS was meant for browser applications,
and that some special application would be needed to process the HTTPS
headers and data, but he insisted I try to find a way to make HTTPS work
from JCL.

So...can this be done? Can a batch JCL job run HTTPS to do file
downloads? If so, can you help a brother out and let me see how you do
it, so I can see if we can do it here?

I appreciate this group - if it can be known, someone here will know it!
Billy

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

 Warning: All e-mail sent to this address will be received by the corporate 
e-mail system, and is subject to archival and review by someone other than the 
recipient. This e-mail may contain proprietary information and is intended only 
for the use of the intended recipient(s). If the reader of this message is not 
the intended recipient(s), you are notified that you have received this message 
in error and that any review, dissemination, distribution or copying of this 
message is strictly prohibited. If you have received this message in error, 
please notify the sender immediately.


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


Using HTTPS from JCL for file download?

2021-11-19 Thread Billy Ashton

Hi all, I am back!
After successfully getting my FTPS and SFTP JCL set up and working right 
here, some manager got a bee in his bonnet to say that he wanted to use 
HTTPS protocol from his JCL, because he read that HTTPS was the best way 
to go. I tried to explain that HTTPS was meant for browser applications, 
and that some special application would be needed to process the HTTPS 
headers and data, but he insisted I try to find a way to make HTTPS work 
from JCL.


So...can this be done? Can a batch JCL job run HTTPS to do file 
downloads? If so, can you help a brother out and let me see how you do 
it, so I can see if we can do it here?


I appreciate this group - if it can be known, someone here will know it!
Billy

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