SFTP and FIPSMODE

2023-08-14 Thread Mark Regan
At my new job, I'm going to be implementing FIPSMODE for SFTP (SFTP was implemented by someone else). If anyone has gone through the process, I would like to hear how things went for you and any do's, don'ts, or gotchas you would be willing to share. Thanks, Mark Regan, K8MTR General, EN80tg

Re: Does FileZilla Support FIPS 140-2? to IBM's SFTP Server (OpenSSH)?

2023-07-26 Thread Mark Regan
Phil, You are quite correct; my question was worded wrong. I was hoping that someone may have been able to get it to work somehow with the z/OS SFTP server when it was operating in FIPSMODE. I know the FileZilla author has no interest in getting it certified due to the costs you mentioned

Re: Does FileZilla Support FIPS 140-2? to IBM's SFTP Server (OpenSSH)?

2023-07-26 Thread Phil Smith III
Mark Regan wrote: >Does FileZilla support a FIPS 140-2 connection to IBM's SFTP Server (OpenSSH)? I don't think that quite makes sense, Mark. There is no "FIPS connection". A given cryptographic module is or is not FIPS certified. So a more meaningful question might be, "D

Does FileZilla Support FIPS 140-2? to IBM's SFTP Server (OpenSSH)?

2023-07-26 Thread Mark Regan
Does FileZilla support a FIPS 140-2 connection to IBM's SFTP Server (OpenSSH)? ​Regards, Mark Regan, K8MTR General, EN80tg CTO1 USNR-Retired (1969-1991), RUENAAA/CNO WASHINGTON DC//OP-009QCP Nationwide Insurance, Retired, 1986-2017 z/OS Network Systems Programmer (z NetView, z/OS

Anyone Running / Experienced with ZOS Tectia Product / SFTP Transmissions

2023-03-27 Thread Steve Estle
All, We have Tectia ZOS (https://www.ssh.com/products/mainframe-security-software) product running in our installation and need to setup for allowing public / private key SFTP transmissions related to EDI application / product used internally. Tectia Product manuals while quite verbose do

Re: SFTP question

2022-09-01 Thread Paul Gilmartin
On Thu, 1 Sep 2022 12:11:07 -0700, Tom Brennan wrote: > >... But I tended to avoid using a 3270 >OMVS connection on USS ... > So flattery gets me nowhere? >I didn't know you could do that with streams across ssh - pretty >interesting! > >On 9/1/2022 9:06 AM, Paul Gilmartin wrote: >>> >> How

Re: SFTP question

2022-09-01 Thread Kirk Wolf
That works if the target server allows for ssh shell logins. Many are restricted to only sftp, which means that neither ssh remote command or scp will work. Kirk Wolf Dovetailed Technologies, LLC http://coztoolkit.com Dovetailed Technologies: +1 636.300.0901 Note: Our website and domain name

Re: SFTP question

2022-09-01 Thread Tom Brennan
into the mainframe known_hosts file. Skipping that last item can cause some head scratching when you try to run a batch sftp. You're far more advanced than me when it comes to stringing unix commands together, so let me look closer: cp - copy the z/OS member I want to transfer to the data stream

Re: SFTP question

2022-09-01 Thread Paul Gilmartin
e to a Linux xterm ssh window. >And sftp only worked with USS files so an OCOPY or >similar was needed for z/OS datasets, and some temp USS space. > How about: /bin/cp [options] "//'MVS.DATA.SET(MEMBER)'" | ssh -f Tom@Linux "cat >Linux.file" Unconditional IB

Re: SFTP question

2022-09-01 Thread Kirk Wolf
t; > > > > Might be possible with either BPXPATCH or BPXWUNIX. Set up your > > > public-private keypairs on z/OS with ssh-keygen and copy the > > > public key to Linux. > > > > > > Yes, that's what I used to do. Something like this: > > > &g

Re: SFTP question

2022-09-01 Thread rpinion865
her BPXPATCH or BPXWUNIX. Set up your > > public-private keypairs on z/OS with ssh-keygen and copy the > > public key to Linux. > > > Yes, that's what I used to do. Something like this: > > //SFTP EXEC PGM=BPXBATCH,REGION=8M, > // PARM='SH sftp -b sftpcmds targetid@targetser

Re: SFTP question

2022-09-01 Thread Tom Brennan
On 9/1/2022 12:05 AM, Paul Gilmartin wrote: Might be possible with either BPXPATCH or BPXWUNIX. Set up your public-private keypairs on z/OS with ssh-keygen and copy the public key to Linux. Yes, that's what I used to do. Something like this: //SFTP EXEC PGM=BPXBATCH,REGION=8M, // PARM='SH

Re: SFTP question

2022-09-01 Thread kekronbekron
Whoops, thanks for educating me. - KB --- Original Message --- On Thursday, September 1st, 2022 at 6:25 PM, Paul Gilmartin <042bfe9c879d-dmarc-requ...@listserv.ua.edu> wrote: > On Thu, 1 Sep 2022 10:29:09 +, kekronbekron wrote: > > > I recently came across zdsfs > >

Re: SFTP question

2022-09-01 Thread Paul Gilmartin
On Thu, 1 Sep 2022 10:29:09 +, kekronbekron wrote: > >I recently came across zdsfs >(https://www.ibm.com/docs/en/linux-on-systems?topic=c-zdsfs-2). > ITYM . >Just from a brief look, it appears to provide direct access to zOS

Re: SFTP question

2022-09-01 Thread kekronbekron
taset to a Linux server which has a SFTP running on > > it. Is it possible to connect the Linux servers SFTP using mainframe JCL to > > put or get the file from Linux ? > > > Might be possible with either BPXPATCH or BPXWUNIX. Set up your > public-private keypairs on z/OS wi

Re: SFTP question

2022-09-01 Thread Paul Gilmartin
On 8/31/22 23:45:20, Peter wrote: > Cross posted > Which groups? IBM-MAIN and MVS-OE? > I am trying to send dataset to a Linux server which has a SFTP running on > it. Is it possible to connect the Linux servers SFTP using mainframe JCL to > put or get the file from Linux ? Mi

SFTP question

2022-08-31 Thread Peter
Hello Cross posted I am trying to send dataset to a Linux server which has a SFTP running on it. Is it possible to connect the Linux servers SFTP using mainframe JCL to put or get the file from Linux ? Peter -- For IBM-MAIN

Re: SFTP JOB Data parameter

2022-06-30 Thread Seymour J Metz
, 2022 12:06 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: SFTP JOB Data parameter >> Mr. Natural says, Use the right tool for the job. Gil, I agree with the statement, however in this case rexx isn't the right tool. Here are a few reasons I can think off 1. Most shops discourage the use o

Re: SFTP JOB Data parameter

2022-06-23 Thread Michael Oujesky
MDS_'; } | + sftp -P eftmfge...@10.222.xx.yy oget '/u/op117/MDS_' - 'MCCP.DATA.XX.MDS.SFTP' @@ //BLDGET ENDIF Seed it by running the BLDGET steps the day before regular runs begin. Michael At 01:58 AM 6/23/2022, saurabh khandelwal wrote: Dear Team

Re: SFTP JOB Data parameter

2022-06-23 Thread saurabh khandelwal
Hello, Paul, I, could not get you . Can you please help us to understand what exactly you are looking On Thu, Jun 23, 2022, 13:33 Paul Gilmartin < 042bfe9c879d-dmarc-requ...@listserv.ua.edu> wrote: > On Thu, 23 Jun 2022 09:58:30 +0300, saurabh khandelwal wrote: > > > >1) Mainframe is

Re: SFTP JOB Data parameter

2022-06-23 Thread Paul Gilmartin
On Thu, 23 Jun 2022 09:58:30 +0300, saurabh khandelwal wrote: > >1) Mainframe is getting file from windows. So, few of the files in >windows having today’s date and few of them having yesterday’s date( today-1) . > So there are multiple files ("few"). Do you know a priori which have

Re: SFTP JOB Data parameter

2022-06-23 Thread saurabh khandelwal
/TMP'; + echo 'ASCII'; + echo 'get MDS_'; } | + sftp -P eftmfge...@10.222.xx.yy oget '/u/op117/MDS_' - 'MCCP.DATA.XX.MDS.SFTP' @@ //STEP1EXEC PGM=IKJEFT01,REGION=0M //SYSEXEC DD DISP=SHR,DSN=SYS1.SBPX

Re: SFTP JOB Data parameter

2022-06-22 Thread Farley, Peter x23353
-Original Message- From: IBM Mainframe Discussion List On Behalf Of Paul Gilmartin Sent: Wednesday, June 22, 2022 12:29 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: SFTP JOB Data parameter On Wed, 22 Jun 2022 16:06:06 +, Sri h Kolusu wrote: > > I for one prefer using the ex

Re: SFTP JOB Data parameter

2022-06-22 Thread Paul Gilmartin
On Wed, 22 Jun 2022 12:45:56 -0500, Michael Oujesky wrote: >Might you have the job log from one that had yesterday's data? > And that requires a couple more steps: One to access that log. A second to convert it to SFTP and OGET commands This might bee: o "sed" which I kno

Re: SFTP JOB Data parameter

2022-06-22 Thread Michael Oujesky
/KWT/TMP'; + echo 'ASCII'; + echo 'get NonMon_DailyExtract_KWT_'; } | + sftp -P eftm...@10.222.xx.xx oget '/u/op117/NonMon_DailyExtract_KWT_'- 'NBFDP.XX.SECURE.DOBMOB.XX.SFTP' @@ //STEP1EXEC PGM=IKJEFT01,REGION=0M //SYSEXEC DD D

Re: SFTP JOB Data parameter

2022-06-22 Thread Paul Gilmartin
On Wed, 22 Jun 2022 16:06:06 +, Sri h Kolusu wrote: >>> Mr. Natural says, Use the right tool for the job. > >Gil, > >I agree with the statement, however in this case rexx isn't the right tool. >Here are a few reasons I can think off > >1. Most shops discourage the use of REXX in

Re: SFTP JOB Data parameter

2022-06-22 Thread Sri h Kolusu
>> Mr. Natural says, Use the right tool for the job. Gil, I agree with the statement, however in this case rexx isn't the right tool. Here are a few reasons I can think off 1. Most shops discourage the use of REXX in production jobs 2. In this case the exec is simple , however if your exec

Re: SFTP JOB Data parameter

2022-06-22 Thread Paul Gilmartin
On Wed, 22 Jun 2022 16:00:38 +0300, saurabh khandelwal wrote: > >Thanks you so much. Finally below code worked. But in this, we are getting >current (today’s date) but in some of the files, we are getting yesterday’s >date (today’s -1) . > >How can we make this process work for yesterday’s date. >

Re: SFTP JOB Data parameter

2022-06-22 Thread Paul Gilmartin
On Wed, 22 Jun 2022 14:53:22 +, Sri h Kolusu wrote: >>> Thanks you so much. Finally below code worked. But in this, we are getting >>> current (today’s date) but in some of the files, we are getting yesterday’s >>> date (today’s -1) . > >Saurabh, > >The date and time are extracted from the

Re: SFTP JOB Data parameter

2022-06-22 Thread Sri h Kolusu
>> Thanks you so much. Finally below code worked. But in this, we are getting >> current (today’s date) but in some of the files, we are getting yesterday’s >> date (today’s -1) . Saurabh, The date and time are extracted from the system where the job runs. Are you telling that 2 jobs running

Re: SFTP JOB Data parameter

2022-06-22 Thread Paul Gilmartin
On Wed, 22 Jun 2022 16:00:38 +0300, saurabh khandelwal wrote: > >... in some of the files, we are getting yesterday’s date (today’s -1) . > Is that because the Windows files are generated before midnight but the TSO job runs after midnight? That's a process problem; it can't be fixed in

Re: SFTP JOB Data parameter

2022-06-22 Thread saurabh khandelwal
SCII'; + echo 'get NonMon_DailyExtract_KWT_'; } | + sftp -P eftm...@10.222.xx.xx oget '/u/op117/NonMon_DailyExtract_KWT_'- 'NBFDP.XX.SECURE.DOBMOB.XX.SFTP' @@ //STEP1EXEC PGM=IKJEFT01,REGION=0M //SYSEXEC DD DISP=SHR,DSN=SYS1.SBPX

Re: SFTP JOB Data parameter

2022-06-17 Thread Bill Godfrey
The OP's input to sftp has "lcd /u/op117/" and later "get EBC-GOV-mmdd.txt". If the "get" command had slashes inside mmdd then it would look like this: "get EBC-GOV-/mm/dd.txt" and sftp would write a file named "/u/op117/dd.txt" if

Re: Will SFTP work with DSFS?

2022-06-17 Thread Paul Gilmartin
On Fri, 17 Jun 2022 07:05:51 -0500, Bill Schoen wrote: >sftp and most unix utilities will work with dsfs. >Utilities (like compilers) that expect names of the form name.type probably >will not at this time. > Thanks. Will "most" be explained in a User's Guide? A Bl

Re: SFTP JOB Data parameter

2022-06-17 Thread John S. Giltner, Jr.
>Not quite, but: >date '+get EBC-GOV-%Y/%m/%d.txt' > > o Why bother with "echo" of a command substitution? > o IIRC, the OP specified slashes. (?!) >Ex : EBC-GOV-mmdd.txt' in this mmdd should be >replace with > year/month/date. My fault, did not read the whole thing. I

Re: Will SFTP work with DSFS?

2022-06-17 Thread Bill Schoen
sftp and most unix utilities will work with dsfs. Utilities (like compilers) that expect names of the form name.type probably will not at this time. Bill Schoen -- For IBM-MAIN subscribe / signoff / archive access instructions

Re: SFTP JOB Data parameter

2022-06-17 Thread Paul Gilmartin
On Fri, 17 Jun 2022 06:35:27 -0500, John S. Giltner, Jr. wrote: >Actually I think he needs: > > echo `date '+get EBC-GOV-%Y%m%d.txt'` > >To get the format of the date he needs. > Not quite, but: date '+get EBC-GOV-%Y/%m/%d.txt' o Why bother with "echo" of a command substitution? o IIRC,

Re: SFTP JOB Data parameter

2022-06-17 Thread John S. Giltner, Jr.
Actually I think he needs: echo `date '+get EBC-GOV-%Y%m%d.txt'` To get the format of the date he needs. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the

Re: SFTP JOB Data parameter

2022-06-17 Thread Seymour J Metz
.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Paul Gilmartin [042bfe9c879d-dmarc-requ...@listserv.ua.edu] Sent: Thursday, June 16, 2022 12:10 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: SFTP

Re: SFTP JOB Data parameter

2022-06-16 Thread Paul Gilmartin
On Thu, 16 Jun 2022 14:47:00 +, Seymour J Metz wrote: >Read up on syscalls('ON'), address syscall and address sh. > syscalls('ON') can be used in any environment; address sh requires that the Rexx script have been started from shell amd is not enabled by syscalls('ON'). I suspect the

Re: SFTP JOB Data parameter

2022-06-16 Thread Paul Gilmartin
On Thu, 16 Jun 2022 14:50:18 +, Seymour J Metz wrote: >Only from the perspective of the submitter, not from the perspective of the >installation. > Which of my two paragraphs are you addrressinig? In either case, the submitter is the one who cares. Since (I believe) the system symbol

Re: SFTP JOB Data parameter

2022-06-16 Thread Seymour J Metz
Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Kirk Wolf [k...@dovetail.com] Sent: Thursday, June 16, 2022 11:13 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: SFTP JOB Data parameter IMO, the contortions in this thread seem to be in search of the most complicated solution. By just

Re: SFTP JOB Data parameter

2022-06-16 Thread Kirk Wolf
IMO, the contortions in this thread seem to be in search of the most complicated solution. By just using the z/OS UNIX shell in batch, the OP's requirement can be solved in a straightforward way. FWIW, here's how you would do this with Co:Z SFTP and Co:Z Batch, along with our sample proc

Re: SFTP JOB Data parameter

2022-06-16 Thread Seymour J Metz
[042bfe9c879d-dmarc-requ...@listserv.ua.edu] Sent: Thursday, June 16, 2022 9:27 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: SFTP JOB Data parameter On Thu, 16 Jun 2022 13:09:53 +, Seymour J Metz wrote: >This has been discussed here many times. The issue is that the results vary >depending o

Re: SFTP JOB Data parameter

2022-06-16 Thread Seymour J Metz
: Wednesday, June 15, 2022 11:31 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: SFTP JOB Data parameter Hello Paul, If I use rexx then how will I be able to use shell command in same job On Wed, Jun 15, 2022, 17:08 Paul Gilmartin < 042bfe9c879d-dmarc-requ...@listserv.ua.edu> wrote: > On We

Re: SFTP JOB Data parameter

2022-06-16 Thread Seymour J Metz
: Wednesday, June 15, 2022 1:26 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: SFTP JOB Data parameter Thanks Sri, I did not know about SYSSYM=ALLOW. But that raises the question why NOT always allow system symbols in every batch initiator? Allowing them just seems like a no-brainer to me

Re: SFTP JOB Data parameter

2022-06-16 Thread Steve Smith
I wish that IBM had (or would) support the SYMBOLS= keyword on JOB statements to allow system symbols in the JCL. The current jobclass spec would still be the default; and SYMBOLS=JCLONLY would still be the default default. sas On Thu, Jun 16, 2022 at 9:27 AM Paul Gilmartin <

Re: SFTP JOB Data parameter

2022-06-16 Thread Paul Gilmartin
On Thu, 16 Jun 2022 13:09:53 +, Seymour J Metz wrote: >This has been discussed here many times. The issue is that the results vary >depending on ehrn and where you evaluate them. > Doesn't SYMBOLS=({JCLONLY|EXECSYS|CNVTSYS} suffice to resolve that? There remains the phobia concerning the

Re: SFTP JOB Data parameter

2022-06-16 Thread Seymour J Metz
of Paul Gilmartin [042bfe9c879d-dmarc-requ...@listserv.ua.edu] Sent: Thursday, June 16, 2022 8:27 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: SFTP JOB Data parameter On Wed, 15 Jun 2022 17:26:32 +, Farley, Peter x23353 wrote: >Thanks Sri, I did not know about SYSSYM=AL

Will SFTP work with DSFS?

2022-06-16 Thread Paul Gilmartin
Will SFTP work with DSFS? Just wondering. -- gil -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: SFTP JOB Data parameter

2022-06-16 Thread Paul Gilmartin
On Wed, 15 Jun 2022 18:31:04 +0300, saurabh khandelwal wrote: > >If I use rexx then how will I be able to use shell command in same job > In this thread, everyone seems to be advocating his favorite utility. I'll add mine: .

Re: SFTP JOB Data parameter

2022-06-16 Thread Paul Gilmartin
On Wed, 15 Jun 2022 17:26:32 +, Farley, Peter x23353 wrote: >Thanks Sri, I did not know about SYSSYM=ALLOW. But that raises the question >why NOT always allow system symbols in every batch initiator? Allowing them >just seems like a no-brainer to me, but then I'm just an application

Re: SFTP JOB Data parameter

2022-06-15 Thread Bill Godfrey
gt;> >>JCL >> >> >> >>//SFTPSEBC JOB (7330),MSGCLASS=X,CLASS=P,NOTIFY= >> >>//TAILOR EXEC PGM=PGM=EZACFSM1 >> >>//SYSOUT DD DISP=(NEW,PASS,DELETE),DSN=, >> >>// UNIT=VIO,SPACE=(TRK,(1)) >> >>//SYSIN DD * >> &

Re: SFTP JOB Data parameter

2022-06-15 Thread Bill Godfrey
> >// UNIT=VIO,SPACE=(TRK,(1)) > >//SYSINDD * > >OSHELL { echo 'lcd /u/op117/'; > > echo 'cd /FRB/EBCClearing/Staging/tmp';+ > > echo 'ASCII'; + > > echo 'get EBC-GOV-'; } | + > >sftp -P eftmfge...@10.222.xx.xx

Re: SFTP JOB Data parameter

2022-06-15 Thread saurabh khandelwal
/'; echo 'cd /FRB/EBCClearing/Staging/tmp';+ echo 'ASCII'; + echo 'get EBC-GOV-'; } | + sftp -P eftmfge...@10.222.xx.xx OGET '/u/op117/EBC-GOV-' - 'NBFDP.DATA.XX.XX.SFTP' //STEP1 EXEC PGM=IKJEFT01,REGION=0M //SYSEXEC DD DISP

Re: SFTP JOB Data parameter

2022-06-15 Thread Farley, Peter x23353
Sri h Kolusu Sent: Wednesday, June 15, 2022 1:32 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: SFTP JOB Data parameter >>> But that raises the question why NOT always allow system symbols in >>> every batch initiator? Allowing them just seems like a no-brainer >>> to me

Re: SFTP JOB Data parameter

2022-06-15 Thread Carmen Vitullo
reading the post sited, at least at my site no user would be allowed by security to create a dataset with the SYSTEM NAME as a HLQ or the entire dataset name, a discrete or generic TSS or RACF rule would need to be defined in a protect all environment - in my site at my site all job classes

Re: SFTP JOB Data parameter

2022-06-15 Thread Michael Oujesky
of the available tools to get the job done. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Sri h Kolusu Sent: Wednesday, June 15, 2022 1:15 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: SFTP JOB Data parameter >> Why is EZACFSM1 required to use in an instre

Re: SFTP JOB Data parameter

2022-06-15 Thread Sri h Kolusu
>>> But that raises the question why NOT always allow system symbols in every >>> batch initiator? Allowing them just seems like a no-brainer to me Peter, There have been several discussions on IBM-MAIN about SYSSYM=ALLOW and here is a post which explains one of the reason.

Re: SFTP JOB Data parameter

2022-06-15 Thread Farley, Peter x23353
to get the job done. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Sri h Kolusu Sent: Wednesday, June 15, 2022 1:15 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: SFTP JOB Data parameter >> Why is EZACFSM1 required to use in an instream DD? Couldn't

Re: SFTP JOB Data parameter

2022-06-15 Thread Sri h Kolusu
>> Why is EZACFSM1 required to use in an instream DD? Couldn't the OP >> just use: Peter, Not all shops SYSSYM=ALLOW defined. So if your jobclass is NOT defined to allow symbols, the symbols will not be translated. However with program EZACFSM1 will translate all the symbols defined to the

Re: SFTP JOB Data parameter

2022-06-15 Thread Bonnie Barthel
Mainframe Discussion List On Behalf Of Sri h Kolusu Sent: Wednesday, June 15, 2022 10:59 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXTERNAL] Re: SFTP JOB Data parameter >> Can we use PGM=EZACFSM1 with sftp also . I am not sure Saurabh, Bonnie meant provide the control cards to symbol tran

Re: SFTP JOB Data parameter

2022-06-15 Thread Farley, Peter x23353
Subject: Re: SFTP JOB Data parameter As a starting point: //SFTPSEBC JOB (7330),MSGCLASS=X,CLASS=P,NOTIFY= //TAILOR EXEC PGM=PGM=EZACFSM1 //SYSOUT DD DISP=(NEW,PASS,DELETE),DSN=, // UNIT=VIO,SPACE=(TRK,(1)), // RECFM=FB,LRECL=80,BLKSZE=800 //SYSINDD * OSHELL { echo 'lcd /u

Re: SFTP JOB Data parameter

2022-06-15 Thread Sri h Kolusu
>> Can we use PGM=EZACFSM1 with sftp also . I am not sure Saurabh, Bonnie meant provide the control cards to symbol translator program EZACFSM1 and use those translated cards to perform the SFTP. You use the dynamic system symbols for current date. Here is the link to the symbols

Re: SFTP JOB Data parameter

2022-06-15 Thread Michael Oujesky
/EBCClearing/Staging/tmp';+ echo 'ASCII'; + echo 'get EBC-GOV-'; } | + sftp -P eftmfge...@10.222.xx.xx OGET '/u/op117/EBC-GOV-' - 'NBFDP.DATA.XX.XX.SFTP' //STEP1 EXEC PGM=IKJEFT01,REGION=0M //SYSEXEC DD DISP=SHR,DSN=SYS1.SBPXEXEC //SYSTSIN

Re: SFTP JOB Data parameter

2022-06-15 Thread saurabh khandelwal
Dear Bonnie, Can we use PGM=EZACFSM1 with sftp also . I am not sure On Wed, Jun 15, 2022, 17:37 Bonnie Barthel wrote: > Look up PGM=EZACFSM1... it may be what you are looking for. > > Bonnie Barthel > Senior IT Specialist > 719.649.7888 Mobile > bonnie.bart...@kyndryl.com &

Re: SFTP JOB Data parameter

2022-06-15 Thread saurabh khandelwal
Hello Paul, If I use rexx then how will I be able to use shell command in same job On Wed, Jun 15, 2022, 17:08 Paul Gilmartin < 042bfe9c879d-dmarc-requ...@listserv.ua.edu> wrote: > On Wed, 15 Jun 2022 13:11:05 +, Seymour J Metz wrote: > > >Write a REXX script to do the file transfer.

Re: SFTP JOB Data parameter

2022-06-15 Thread Bonnie Barthel
@LISTSERV.UA.EDU Subject: [EXTERNAL] Re: SFTP JOB Data parameter On Wed, 15 Jun 2022 13:11:05 +, Seymour J Metz wrote: >Write a REXX script to do the file transfer. You can use the date('S') >function to generate the date in the format mmdd, then parse out the >component to build your

Re: SFTP JOB Data parameter

2022-06-15 Thread Paul Gilmartin
On Wed, 15 Jun 2022 13:11:05 +, Seymour J Metz wrote: >Write a REXX script to do the file transfer. You can use the date('S') >function to generate the date in the format mmdd, then parse out the >component to build your dsn. > I would have done something similar. But the OP was on a

Re: SFTP JOB Data parameter

2022-06-15 Thread Paul Gilmartin
On Wed, 15 Jun 2022 15:58:57 +0300, saurabh khandelwal wrote: > >Thank for reply but system doesn't take %D as date variable. It taking as >file name. So variable in file mmdd not getting replaced with actual >date > %D is not a "date variable". It is a substitution element in the argument

Re: SFTP JOB Data parameter

2022-06-15 Thread Seymour J Metz
, 2022 6:44 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: SFTP JOB Data parameter -- Dear All, I am am running below Job in TSO env and getting to get file file from windows to Mainframe env. Initially file was static and all worked well. But now, requirement is to get the file, which has current

Re: SFTP JOB Data parameter

2022-06-15 Thread saurabh khandelwal
gt; > > >07 OSHELL { echo 'lcd /u/op117/'; > >+ > > > >08 echo 'cd /FRB/EBCClearing/Staging/tmp'; > >+ > > > >09 echo 'ASCII'; > >+ > > > >10 echo 'get EBC-GO

Re: SFTP JOB Data parameter

2022-06-15 Thread Paul Gilmartin
LIST(SFTPSEBB) - 01.01Columns 1 >00072 > >Command ===> Scroll ===> >CSR > >07 OSHELL { echo 'lcd /u/op117/'; >+ > >08 echo 'cd /FRB/EBCClearing/Staging/tmp'; >+ > >09

SFTP JOB Data parameter

2022-06-15 Thread saurabh khandelwal
ho 'cd /FRB/EBCClearing/Staging/tmp'; + 09 echo 'ASCII'; + 10 echo 'get EBC-GOV-mmdd.txt'; } | + 11 sftp -P eftmfge...@10.222.xx.xx 12 OGET '/u/op117/EBC-GOV-mmdd.txt' - 13 'NBFDP.DATA.XX.X

Re: Sftp Vs connect direct

2022-04-17 Thread Kirk Wolf
I agree - compatibility with partners is key, which is why standardized protocols are often chosen over proprietary. This may not be a consideration for all. As others kindly mentioned, Co:Z SFTP includes support for z/OS data sets, codepage and line terminator conversions etc, etc. It also

Re: Sftp Vs connect direct

2022-04-16 Thread Steve Beaver
AM 4/16/2022, saurabh khandelwal wrote: > >> Hello Group, >> >> Currently we are using connect direct in our environment for file transfer. >> But now, our team like to migrate file transfer from connect direct to sftp. >> >> I think, sftp doesn't have any mechanis

Re: Sftp Vs connect direct

2022-04-16 Thread Michael Oujesky
. But now, our team like to migrate file transfer from connect direct to sftp. I think, sftp doesn't have any mechanism to find that file has been transferred successfully or not . If we are transferring any big file using sftp and Network connection broken then how it's going to impact

Re: Sftp Vs connect direct

2022-04-16 Thread Lionel B. Dyck
You will also want to checkout Co:Z from Dovetail as their enhanced sftp supports z/OS datasets. Lionel B Dyck < Sent from my iPad Pro 10.5 Website: www.lbdsoftware.com "Worry more about your character than your reputation. Character is what you are, reputation merely what others t

Re: Sftp Vs connect direct

2022-04-16 Thread Grant Taylor
On 4/16/22 8:36 AM, saurabh khandelwal wrote: Hello Group, Hi, I think, sftp doesn't have any mechanism to find that file has been transferred successfully or not. In connect direct case we get return code on sender ... sftp should give you a return code too. ... and receiver side which

Re: Sftp Vs connect direct

2022-04-16 Thread Paul Gilmartin
On Sat, 16 Apr 2022 17:36:17 +0300, saurabh khandelwal wrote: > If we are transferring any big file using >sftp and Network connection broken then how it's going to impact the file >transfer or sender should again initiate file transfer. > sftp is largely a front-end to ssh. Y

Re: Sftp Vs connect direct

2022-04-16 Thread Steve Beaver
like to migrate file transfer from connect direct to sftp. > > I think, sftp doesn't have any mechanism to find that file has been > transferred successfully or not . If we are transferring any big file using > sftp and Network connection broken then how it's going to impact the file

Sftp Vs connect direct

2022-04-16 Thread saurabh khandelwal
Hello Group, Currently we are using connect direct in our environment for file transfer. But now, our team like to migrate file transfer from connect direct to sftp. I think, sftp doesn't have any mechanism to find that file has been transferred successfully or not . If we are transferring any

Re: Passing user/pw in to BPXBATCH SFTP

2021-10-11 Thread Paul Gilmartin
On Mon, 11 Oct 2021 02:57:56 -0500, Jantje. wrote: >Co:ZBatch, Co:Z sftp and passwordless authentication (using ssh keys) have >done it very well for me. > Up to a point. I once chatted with our sysprog. We intended to exchange data with another organization. The protocol verifie

Re: Passing user/pw in to BPXBATCH SFTP

2021-10-11 Thread Jantje.
Co:ZBatch, Co:Z sftp and passwordless authentication (using ssh keys) have done it very well for me. Cheers, Jantje. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu

Re: Passing user/pw in to BPXBATCH SFTP

2021-10-09 Thread Paul Gilmartin
On Sat, 9 Oct 2021 20:31:05 -0400, Billy Ashton wrote: >Well, when you are working in JCL, the line is 72/80 bytes for most > JES2 abolished that restriction for SYSIN data sets circa z/OS 1.6; JES32 far earlier. I've found it liberating to be able to use longer SYSIN lines. >libraries. So

Re: Passing user/pw in to BPXBATCH SFTP

2021-10-09 Thread Billy Ashton
Well, when you are working in JCL, the line is 72/80 bytes for most libraries. So then the question is, how do you continue the command to a second or third line in these standard JCL libraries? Billy What Line limit are you dealing with? 72 or larger? With BPXBATCH STDPARM, the limit is

Re: Passing user/pw in to BPXBATCH SFTP

2021-10-09 Thread Amr@Systemz
. You can modify the source and rebuild if required. On Friday, October 8, 2021, 01:19:40 PM PDT, Billy Ashton wrote: Hi all! I see we have been talking some about FTPS, so now I want to spin the letters around for SFTP with an easy question-I hope! Does anyone have a batch job/JCL

Re: Passing user/pw in to BPXBATCH SFTP

2021-10-08 Thread David Crayford
to spin the letters around for SFTP with an easy question-I hope! Does anyone have a batch job/JCL that they use for SFTP that hides a user/password? I have looked for some hours at Google, and everything I see has the user and password in clear text. I am looking for something like the NETRC

Re: Passing user/pw in to BPXBATCH SFTP

2021-10-08 Thread Michael Oujesky
Must be quite a set of parameters to bust 32K, At 05:15 PM 10/8/2021, Paul Gilmartin wrote: On Fri, 8 Oct 2021 16:19:56 -0500, Michael Oujesky wrote: >If I recollect correctly, we had both the userid and password in an >encrypted file that duirng the file transfer job was decrypted to a >VIO

Re: Passing user/pw in to BPXBATCH SFTP

2021-10-08 Thread Paul Gilmartin
On Fri, 8 Oct 2021 16:19:56 -0500, Michael Oujesky wrote: >If I recollect correctly, we had both the userid and password in an >encrypted file that duirng the file transfer job was decrypted to a >VIO dataset that was used as the input to the data transfer facility. > How did you keep the key to

Re: Passing user/pw in to BPXBATCH SFTP

2021-10-08 Thread Allan Staller
Classification: Confidential There are a number of hacks that obscure the password in SFTP batch. The easiest and best method I have come across are public/private keypairs The keypairs may be stored in your ESM, or in the Unix File System. I heartily recommend CoZ:SFTP Toolkit (WWW.DOVETAIL.COM

Re: Passing user/pw in to BPXBATCH SFTP

2021-10-08 Thread Michael Oujesky
Ashton wrote: Content-Transfer-Encoding: 7bit Hi all! I see we have been talking some about FTPS, so now I want to spin the letters around for SFTP with an easy question-I hope! Does anyone have a batch job/JCL that they use for SFTP that hides a user/password? I have looked for some hours

Re: Passing user/pw in to BPXBATCH SFTP

2021-10-08 Thread Paul Gilmartin
On Fri, 8 Oct 2021 16:19:29 -0400, Billy Ashton wrote: > >Does anyone have a batch job/JCL that they use for SFTP that hides a >user/password? I have looked for some hours at Google, and everything I >see has the user and password in clear text. I am looking for something >like

Passing user/pw in to BPXBATCH SFTP

2021-10-08 Thread Billy Ashton
Hi all! I see we have been talking some about FTPS, so now I want to spin the letters around for SFTP with an easy question-I hope! Does anyone have a batch job/JCL that they use for SFTP that hides a user/password? I have looked for some hours at Google, and everything I see has the user

Re: SFTP jcl with proxy server

2021-04-30 Thread Kirk Wolf
pts="$sftp_opts -oProxyCommand='ssh-proxyc 192.168.0.50:1080 %h %p' " . $script_dir/sftp_connect.sh <http://dovetail.com On 4/28/21 5:24 PM, Bill Giannelli wrote: How do specify a proxy server in JCL for SFTP executing BPXBATCH? thanks Bill

Re: SFTP jcl with proxy server

2021-04-30 Thread william giannelli
t; > How do specify a proxy server in JCL for SFTP executing BPXBATCH? >> I have no experience using it, but have you considered the >> -oProxyCommand option of sftp? >> >> Kurt Quackenbush -- IBM, SMP/E Deve

Re: SFTP jcl with proxy server

2021-04-30 Thread william giannelli
ok "-oProxyCommand" then? On Fri, Apr 30, 2021 at 8:51 AM Kurt Quackenbush wrote: > On 4/28/2021 6:25 PM, Bill Giannelli wrote: > > How do specify a proxy server in JCL for SFTP executing BPXBATCH? > I have no experience using it, but have you considered the > -oPr

Re: SFTP jcl with proxy server

2021-04-30 Thread Kurt Quackenbush
On 4/28/2021 6:25 PM, Bill Giannelli wrote: How do specify a proxy server in JCL for SFTP executing BPXBATCH? I have no experience using it, but have you considered the -oProxyCommand option of sftp? Kurt Quackenbush -- IBM, SMP/E Development Chuck Norris never uses CHECK when he applies PTFs

Re: SFTP jcl with proxy server

2021-04-29 Thread Bill Giannelli
so how do I code it? ProxyCommand? ProxyJump? -X connect -x? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: SFTP jcl with proxy server

2021-04-29 Thread Grant Taylor
On 4/28/21 4:58 PM, Paul Gilmartin wrote: set ssh proxy environment variables The "ssh proxy environment variables" causes me to wince. Yes, they are environment variables which used in conjunction with SSH. But, the environment variables aren't used by or referenced by the SSH client

  1   2   3   4   5   6   >