cozsftp , sftp jobs batch job(jcl), password

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
cagatayucuzal
Posts: 40
Joined: Thu Jun 01, 2017 9:15 am

cozsftp , sftp jobs batch job(jcl), password

Post by cagatayucuzal »

Hello,

can we set password folder dataset instead of pds?

//SFTPPUT EXEC PROC=SFTPPROC
//SFTPIN DD *
pwdsn="COZUSER.COZ.SAMPJCL(PW)" --> COZUSER.COZ.SAMPJCL.PW

:because our jcl gets error when someone browse pds file

Thanks.
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: cozsftp , sftp jobs batch job(jcl), password

Post by dovetail »

I don't understand how this could happen, since the script (read_passwd_dsn.sh) that reads the password allocates the data set with DISP=SHR.

The Co:Z SFTP job would only fail with an allocation error if the data set was allocated by another job with DISP=OLD or MOD or NEW.

The failing Co:Z SFTP job log may have more information that I cannot see.
Post Reply