I'll hunt around I do have some JCL to receive HOLDDATA weekly, but something 
like this may work, if you receive the keyring for SMP/E from the IBM site, 
there's doc on the site, they add the keyring to your security package and use 
some JCL like this... I think this is still valid.... 





SET BDY(GLOBAL). 
RECEIVE SYSMODS HOLDDATA 
ORDER( /* Place an order for service */ 
ORDERSERVER(ORDRSRVR) /* Specify the ORDERSERVER DDNAME. */ 
CLIENT(MYCLIENT) /* Specify the CLIENT DDNAME. */ 
FORTGTZONES(ZOST111) /* For this target zone */ 
) 
. /* DELETEPKG. */ 
//ORDRSRVR DD * 
<ORDERSERVER 
url="https://eccgw01.boulder.ibm.com/services/projects/ecc/ws/"; 
keyring="TSO-USERID/zOSring" 
certificate="SMPE Client Certificate"> 
</ORDERSERVER> 
/* 
//MYCLIENT DD * 
<CLIENT 
javahome="/usr/lpp/java/J6.0" 
classpath="/usr/lpp/smp/classes" 
javadebugoptions="-Dcom.ibm.smp.debug=severe -showversion"> 
</CLIENT> 

Carmen Vitullo 

----- Original Message -----

From: "Robert B. Richards" <[email protected]> 
To: [email protected] 
Sent: Wednesday, May 23, 2018 9:12:28 AM 
Subject: Re: File transfer Red Alert 

Speaking of file transfer, does anyone have JCL to get HOLDDATA "securely"? 

I was using: 

//FTPHOLDD EXEC PGM=FTP,REGION=2M,PARM='(EXIT' 
//SYSPRINT DD SYSOUT=* 
//OUTPUT DD SYSOUT=* 
//INPUT DD * 
dispby-112.boulder.ibm.com 
anonymous 
myemailaddress 
cd /s390/holddata 
locsite lrecl=80 blksize=0 recfm=fb cyl primary=15 
get full.txt 'SYSxxx.SMPE.ENHANCED.HOLDDATA' (repl 
quit 

I now need to make this a secure FTP. What changes to I need in the above? 

Bob 


-----Original Message----- 
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of John McKown 
Sent: Wednesday, May 23, 2018 8:45 AM 
To: [email protected] 
Subject: Re: File transfer Red Alert 

On Wed, May 23, 2018 at 7:25 AM Jousma, David < 
[email protected]> wrote: 

> Does anyone find this funny? Comes today, with compliance date of 
> tomorrow. 
> 
> Anyway, I'm playing with the JAVA version of the utility. First off, 
> I'll point out that the download link for the .jar file downloads the file 
> as a .zip file. 


​A .jar file _is_ a .zip file, but with some specified contents, such as a 
"manifest". The JAVA "jar" command can create a file which a standard 
"unzip" utility can expand. It can also extract files from a standard zip 
file. That is, it can act as a regular zip command. But a true .jar file 
must have the .jar extension and have the proper contents to be used by the 
java executable.​ 



> After uploading to my sandbox, I had to rename it to .jar. Initial test 
> is successful, the only issue I have is that by default it wants to look 
> into filesystem for the files to upload. I'm not smart enough, but is 
> there syntax to have it pull traditional MVS dataset? If not how would I 
> copy an SVC dump into my filesystem without losing the necessary 
> attributes....doc says TERSE ahead of time is not necessary. 
> 

​Correct. Since the attributes of an SVCDUMP are always FB/4160/4160, you 
can do a BINary download to a PC, then do a BINary upload to z/OS if you 
first do a "QUOTE SITE LRECL=FB LRECL=4106 BLKSIZE=4106".​ 



> 
> //BPXS1 EXEC PGM=BPXBATCH,REGION=256M 
> //STDOUT DD SYSOUT=* 
> //STDERR DD SYSOUT=* 
> //*** use the current java environment 
> //STDENV DD * 
> PATH=/bin:/usr/sbin:/opt/fitb/java/Jre:. 
> //STDPARM DD * 
> SH java -classpath /home/myhome/ibmsdduu.jar ibmsdduu.cmd 
> -threads=4 -encrypt -compress 
> -server=testcase.boulder.ibm.com 
> -pmr -id=00000.000.000 
> /test.txt 
> /* 
> _________________________________________________________________ 
> Dave Jousma 
> Manager Mainframe Engineering, Assistant Vice President 
> [email protected] 
> 1830 East Paris, Grand Rapids, MI 49546 MD RSCB2H 
> p 616.653.8429 
> f 616.653.2717 
> 

-- 
Once a government places vague notions of public safety and security above 
the preservation of freedom, a general loss of liberty is sure to follow. 

GCS Griffin -- Pelaran Alliance -- TFS Guardian (book) 


Maranatha! <>< 
John McKown 

---------------------------------------------------------------------- 
For IBM-MAIN subscribe / signoff / archive access instructions, 
send email to [email protected] with the message: INFO IBM-MAIN 

---------------------------------------------------------------------- 
For IBM-MAIN subscribe / signoff / archive access instructions, 
send email to [email protected] with the message: INFO IBM-MAIN 


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to