EDC5129I No such file or directory

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
wolfgang
Posts: 12
Joined: Tue May 17, 2011 2:37 am

EDC5129I No such file or directory

Post by wolfgang »

Hello
has anyone an idea what file is missing in my configuration for my job?

Ý29.586¨ EDC5129I No such file or directory. (errno2=0x05620062) (bz100061488§bzst-sftp).
CoZBatchÝN¨: Copyright (C) 2005-2009 Dovetailed Technologies LLC. All rights res
CoZBatchÝN¨: version 2.0.1 2012-01-14
CoZBatchÝI¨: executing progname=login-shell="-/bin/sh"
CoZBatchÝI¨: returning rc=exitcode=255


my JCL
//UAQFZWB JOB ,'BVD',MSGLEVEL=(1,1),
// MSGCLASS=L,CLASS=J,NOTIFY=&SYSUID
//* USER=YFTPHVB,
//*------------------------------------------------------------------
//*KOM JOB SUBMITTED FROM UAQFZW.TSO.JCL(SFTPBZST)
//*KOM DOC:
//*------------------------------------------------------------------
//********************************HASX52A**03/30/10*13.07****$JES052***
//*------------------------------------------------------------------
//RUNSFTP EXEC PGM=COZBATCH
//STEPLIB DD DSN=SYBS.COZ.LOADLIB,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//STDIN DD *
set -o verbose
echo "transfer the files to BZST "
coz_bin="/plex/opt/dovetail/coz/bin"
ruser=bz100061488
infile="m5_zr_"$ruser"_b01l01_v01_z20111231_j12136_ea.mgt"
sigfile="m5_zr_"$ruser"_b01l01_v01_z20111231_j12136_ea.mgt.sig"
export COZ_LOG=T,SafSshAgent=F
server=bzst-sftp
servercp="ISO8859-1"
clientcp="IBM-273"
loglevel="DEBUG3"
loglevel=ZosDataset=T
ssh_opts="-oBatchMode=yes"
ssh_opts="$ssh_opts -o PasswordAuthentication=no"
ssh_opts="$ssh_opts -o StrictHostkeyChecking=no"
ssh_opts="$ssh_opts -vvv "
ssh_opts="$ssh_opts -k BZSTBSWT"
lzopts mode=binary servercp=$servercp,clientcp=$clientcp
$coz_bin/cozsftp $ssh_opts -b $ruser§$server <<EOB
version
pwd
ls -al
cd /upload
ls -al
put $infile
put $sigfile
ls -al
echo "transfer the files to BZST --- End --- "
EOB
/*
dovetail
Site Admin
Posts: 2025
Joined: Thu Jul 29, 2004 12:12 pm

Re: EDC5129I No such file or directory

Post by dovetail »

Hi Wolfgang,

My guess is that the OMVS segment for the batch job userid points to a non-existent home directory.

To test, just run COZBATCH with this userid, like this:

Code: Select all

//  EXEC PGM=COZBATCH
//STDIN DD *
pwd
//
If you get the same error, then this is almost certainly the problem - check the OMVS segment and verify that the directory exists and has permissions that allow it to be accessed by this userid.
wolfgang
Posts: 12
Joined: Tue May 17, 2011 2:37 am

Re: EDC5129I No such file or directory

Post by wolfgang »

Hello
thanks for your information. I think this is not my problem, because i have a home diretory show my test
I useed your sample

CoZBatchÝN¨: Copyright (C) 2005-2009 Dovetailed Technologies LLC. All rights res
CoZBatchÝN¨: version 2.0.1 2012-01-14
CoZBatchÝI¨: executing progname=login-shell="-/bin/sh"
Path: /usr/lpp/skrb/bin:/usr/lpp/Printsrv/bin:/bin:/usr/lpp/java/J6.0/bin:/plex/
/sbin:/u/uaqfzw:.:/u/uaqfzw::/plex/opt/dovetail/coz/bin:/usr/lpp/cbclib/xlc/bin:
NLSPATH :/usr/lpp/skrb/lib/nls/msg/%L/%N
/u/uaqfzw
/u/uaqfzw
CoZBatchÝI¨: returning rc=exitcode=0
dovetail
Site Admin
Posts: 2025
Joined: Thu Jul 29, 2004 12:12 pm

Re: EDC5129I No such file or directory

Post by dovetail »

I will need to you get additional tracing information.

First, add PARM='-LT' to your COZBATCH step.

Second, add this to the beginning of your STDIN DD:
set -x

Then, post the entire job output or email to info@dovetail.com and we will take a closer look.
(Please scrub any confidential information)
wolfgang
Posts: 12
Joined: Tue May 17, 2011 2:37 am

Re: EDC5129I No such file or directory

Post by wolfgang »

Hello
here is my new joblog
1 J E S 2 J O B L O G -- S Y S T E M S Y S B -- N O D E W W X 1 M A S 1
0
16.07.41 JOB98236 ---- THURSDAY, 02 AUG 2012 ----
16.07.41 JOB98236 IRR010I USERID UAQFZW IS ASSIGNED TO THIS JOB.
16.07.42 JOB98236 ICH70001I UAQFZW LAST ACCESS AT 15:36:41 ON THURSDAY, AUGUST 2, 2012
16.07.42 JOB98236 $HASP373 UAQFZWB STARTED - INIT J - CLASS J - SYS SYSA
16.07.42 JOB98236 IEF403I UAQFZWB - STARTED - TIME=16.07.42
16.07.43 JOB98236 - ---TIMINGS (MINS.)---
16.07.43 JOB98236 -JOBNAME. STEPNAME PROCSTEP .RCODE ..EXCP ......CPU ......SRB .CLOCK ..SERV
16.07.43 JOB98236 -UAQFZWB RUNSFTP 1005 2145 .00 .00 .0 591
16.07.43 JOB98236 IEF404I UAQFZWB - ENDED - TIME=16.07.43
16.07.43 JOB98236 -UAQFZWB ENDED. NAME=BVD CPUTIME(MINS.)= .00 DURATION= .0
16.07.43 JOB98236 $HASP395 UAQFZWB ENDED
0------ JES2 JOB STATISTICS ------
- 02 AUG 2012 JOB EXECUTION DATE
- 51 CARDS READ
- 92 SYSOUT PRINT RECORDS
- 0 SYSOUT PUNCH RECORDS
- 6 SYSOUT SPOOL KBYTES
- 0.00 MINUTES EXECUTION TIME
1 //UAQFZWB JOB ,'BVD',MSGLEVEL=(1,1), JOB98236
// MSGCLASS=L,CLASS=J,NOTIFY=&SYSUID
//* USER=YFTPHVB,
//*------------------------------------------------------------------
//*KOM JOB SUBMITTED FROM UAQFZW.TSO.JCL(SFTPBZST)
//*KOM DOC:
//*------------------------------------------------------------------
//********************************HASX52A**03/30/10*13.07****$JES052***
//*------------------------------------------------------------------
IEFC653I SUBSTITUTION JCL - ,'BVD',MSGLEVEL=(1,1),MSGCLASS=L,CLASS=J,NOTIFY=UAQFZW
2 //RUNSFTP EXEC PGM=COZBATCH,PARM='LT'
3 //STEPLIB DD DSN=SYBS.COZ.LOADLIB,DISP=SHR
4 //SYSPRINT DD SYSOUT=*
5 //SYSTSPRT DD SYSOUT=*
6 //STDOUT DD SYSOUT=*
7 //STDERR DD SYSOUT=*
8 //STDIN DD *
ICH70001I UAQFZW LAST ACCESS AT 15:36:41 ON THURSDAY, AUGUST 2, 2012
IEF236I ALLOC. FOR UAQFZWB RUNSFTP
IGD103I SMS ALLOCATED TO DDNAME STEPLIB
IEF237I JES2 ALLOCATED TO SYSPRINT
IEF237I JES2 ALLOCATED TO SYSTSPRT
IEF237I JES2 ALLOCATED TO STDOUT
IEF237I JES2 ALLOCATED TO STDERR
IEF237I JES2 ALLOCATED TO STDIN
IEF237I JES2 ALLOCATED TO SYSOUT
IEF285I UAQFZW.UAQFZWB.JOB98236.D0000106.? SYSOUT
IEF142I UAQFZWB RUNSFTP - STEP WAS EXECUTED - COND CODE 1005
IGD104I SYBS.COZ.LOADLIB RETAINED, DDNAME=STEPLIB
IEF285I UAQFZW.UAQFZWB.JOB98236.D0000102.? SYSOUT
IEF285I UAQFZW.UAQFZWB.JOB98236.D0000103.? SYSOUT
IEF285I UAQFZW.UAQFZWB.JOB98236.D0000104.? SYSOUT
IEF285I UAQFZW.UAQFZWB.JOB98236.D0000105.? SYSOUT
IEF285I UAQFZW.UAQFZWB.JOB98236.D0000101.? SYSIN
*******************************************WVACTRT**03/02/11*12.33****$SMF006***
*--------------------------- IDENTIFICATION SECTION ---------------------------*
* JOBNAME UAQFZWB CPU IBM 002097 E26 *
* JOBID JOB98236 CPUID 0E3BC3 *
* JOBCLASS J OS z/OS 01.12.00 *
* PROCSTEPNAME SYSTEMID SYSA *
* STEPNAME RUNSFTP SYSPLEX WWX1 *
* STEPID 001 PGMRNAME BVD *
* PROGRAM COZBATCH USERID UAQFZW *
* WORKLOAD BATCH SERVICECLASS JESTESTP *
* STARTTIME 16:07:42.61 STARTDATE 02.08.2012 (2012.215) *
* ENDTIME 16:07:43.11 ENDDATE 02.08.2012 (2012.215) *
* DURATION 00:00:00.50 STORAGE(BELOW) 60K *
* COMPCODE 03ED STORAGE(ABOVE) 8.260K *
*--------------------------- DDNAME SECTION -----------------------------------*
* EXCP UNIT DD-NAME BLKSZ EXCP UNIT DD-NAME BLKSZ *
* 18 9227 STEPLIB 6144 0 0000 SYSPRINT 0 *
* 0 0000 SYSTSPRT 0 0 0000 STDOUT 0 *
* 0 0000 STDERR 0 0 0000 STDIN 0 *
* 0 0000 SYSOUT 0 *
*--------------------------- SUMMARY SECTION ----------------------------------*
* 18 EXCP DISK 0 EXCP TAPE *
* 34 SYSIN RECORDS 0 TAPE MOUNTS *
* 0,02 SEC CPU ZEIT (TCB) 0,00 SEC CPU ZEIT (SRB) *
* 0,00 SEC CPU ZEIT (AAP) 0,00 SEC CPU ZEIT (IIP) *
*******************************************WVACTRT**03/02/11*12.33****$SMF006***
IEF373I STEP/RUNSFTP /START 2012215.1607
IEF032I STEP/RUNSFTP /STOP 2012215.1607
CPU: 0 HR 00 MIN 00.02 SEC SRB: 0 HR 00 MIN 00.00 SEC
VIRT: 60K SYS: 320K EXT: 8260K SYS: 13540K
IEF375I JOB/UAQFZWB /START 2012215.1607
IEF033I JOB/UAQFZWB /STOP 2012215.1607
CPU: 0 HR 00 MIN 00.02 SEC SRB: 0 HR 00 MIN 00.00 SEC
CoZBatchíNù: Copyright (C) 2005-2009 Dovetailed Technologies LLC. All rights reserved.
CoZBatchíNù: version 2.0.1 2012-01-14
CoZBatchíIù: executing given progname="LT"
CoZBatchíEù: could not spawn: LT - EDC5129I No such file or directory. (errno2=0x053B006C)
CoZBatchíWù: an error occurred; returning rc=1005
wolfgang
Posts: 12
Joined: Tue May 17, 2011 2:37 am

Re: EDC5129I No such file or directory

Post by wolfgang »

Sorry i am an old man i need new eyclases, i forgt the - on the parm i will send my new joblog to you via email
dovetail
Site Admin
Posts: 2025
Joined: Thu Jul 29, 2004 12:12 pm

Re: EDC5129I No such file or directory

Post by dovetail »

I believe that I see the problem.
On the line:

Code: Select all

$coz_bin/cozsftp $ssh_opts -b $ruser§$server <<EOB 
You should have a "-" after "-b":

Code: Select all

$coz_bin/cozsftp $ssh_opts -b- $ruser§$server <<EOB 
Also, the following line must come after the cozsftp command (not before), since it is a subcommand:

Code: Select all

lzopts mode=binary,servercp=$servercp,clientcp=$clientcp 
wolfgang
Posts: 12
Joined: Tue May 17, 2011 2:37 am

Re: EDC5129I No such file or directory

Post by wolfgang »

ok thanks for your help this was my problem. I could write a lot of datapackets to the remote Server.
I hope with the new learned trace posabillity i will be able to find my problems in futre by myself. :D
Post Reply