/C1ER10: FSUM9209 cannot execute:

Discussion of the free COZBATCH utility for z/OS
Post Reply
Posts: 2
Joined: Thu Jul 02, 2015 1:25 pm
Location: Los Angeles area

/C1ER10: FSUM9209 cannot execute:

Post by sz1cml » Fri Oct 09, 2015 9:25 am

Good Morning!
I am executing a script from an zOS batch job that performs a "GET" of a file from a Windows server. The requested file is retrieved in its entirety, however the last message issued before leaving the SFTP session states:
"/C1ER10: FSUM9209 cannot execute: reason code = 0b1b011f: EDC5111I Permission denied."

In a UNIX session on the zOS machine I can "cd /" from my home directory, execute the "ls -la" command and see the C1ER10 folder. However, when I "cd" to that folder, there are no files listed there. Nowhere in my script nor in any files in my folders is there a reference to the "/C1ER10" character string.

Has anyone out there had this experience? I am using userid/password authentication for access to the Windows server. Pasted below are the displays of the "cd" commands showing the C1ER10 info and my "script" used for the GET process.

Thank you in advance for any insight to this issue.
CL13:/u/lzssqq$ cd /
CL13:/$ ls -la
total 312
drwxr-xr-x 19 BPXAS IMWEB 8192 Sep 8 06:29 .
drwxr-xr-x 19 BPXAS IMWEB 8192 Sep 8 06:29 ..
dr-xr-xr-x 2 BPXAS IMWEB 8192 Apr 15 2013 ...
drwxrwxr-x 2 BPXAS IMWEB 8192 Sep 8 06:29 C1ER10
drwxrwxr-x 2 BPXAS IMWEB 8192 Sep 8 06:29 C1ER11
drwxr-xr-x 6 BPXAS IMWEB 8192 Apr 15 2013 SYSTEM
CL13:/$ cd /C1ER10
CL13:/C1ER10$ ls -la
total 32
drwxrwxr-x 2 BPXAS IMWEB 8192 Sep 8 06:29 .
drwxr-xr-x 19 BPXAS IMWEB 8192 Sep 8 06:29 ..

export SSH_ASKPASS=$coz_bin/read_passwd_dsn.sh
export DISPLAY=none

ssh_opts="-oBatchMode=no" # allows ssh to use SSH_ASKPASS program
ssh_opts="$ssh_opts -oConnectTimeout=60"
ssh_opts="$ssh_opts -oServerAliveInterval=60"
ssh_opts="$ssh_opts -oStrictHostKeyChecking=no" # accept initial host ke

# Invoke the Co:Z sftp client with an in-line batch of commands
# that uploads a remote file from a local DD.
# Note that "-oBatchMode=no" must be specified before "-b"
# since ssh opts are first-sticky

$coz_bin/cozsftp $ssh_opts -vb- $remoteuser@$server <<EOB
# zopts recfm=fb,lrecl=80,space=cyl.10.1,mode=binary
lzopts mode=text
# lzopts mode=binary
get $remotefile $localfile

Site Admin
Posts: 1907
Joined: Thu Jul 29, 2004 12:12 pm

Re: /C1ER10: FSUM9209 cannot execute:

Post by dovetail » Mon Oct 12, 2015 9:00 am

Try adding:

set -x

to the beginning of your shell script input (STDIN) to COZBATCH. This might help you pin down where the funny "/C1ER10" command is being executed from.

Post Reply