This is the JCL:
//FTP      EXEC PGM=FTP
//SYSPRINT DD  SYSOUT=*
//INPUT    DD  *
ren1mvs
myuhas
mgikeda
cd /SYSTEM/etc/u/dept976/Departmental/Weekly Mainframe Capacity Statistics
put 'TECH.MYUHAS.SIGREPT.FORMAT' abc.txt
cd /SYSTEM/etc/u/dept976/Departmental/Weekly Mainframe Capacity Statistics
locsite chmod 775  abc.txt
quit

This is the output:
EZA1736I FTP
EZY2640I Using 'SYS1.TCPPARMS(FTPDATA)' for local site configuration parameters.
EZA1450I IBM FTP CS V1R13
EZA1456I Connect to ?
EZA1736I ren1mvs
EZA1554I Connecting to: ren1mvs.misrenton.paccar.com 160.69.4.33 port: 21.
220-FTPD1 IBM FTP CS V1R13 at ren1mvs.misrenton.paccar.com, 23:10:36 on 
2013-04-23.
220 Connection will close if idle for more than 5 minutes.
EZA1459I NAME (ren1mvs:MYUHAS):
EZA1701I >>> USER myuhas
331 Send password please.
EZA1789I PASSWORD:
EZA1701I >>> PASS
230 MYUHAS is logged on.  Working directory is "MYUHAS.".
EZA1460I Command:
EZA1736I cd /SYSTEM/etc/u/dept976/Departmental/Weekly Mainframe Capacity 
Statistics
EZA1701I >>> CWD /SYSTEM/etc/u/dept976/Departmental/Weekly Mainframe Capacity 
Statistics
250 HFS directory /SYSTEM/etc/u/dept976/Departmental/Weekly Mainframe Capacity 
Statistics is the current working directory
EZA1460I Command:
EZA1736I put 'TECH.MYUHAS.SIGREPT.FORMAT' abc.txt
EZA1460I Command:
EZA1736I put 'TECH.MYUHAS.SIGREPT.FORMAT' abc.txt
EZA1701I >>> SITE FIXrecfm 120 LRECL=120 RECFM=FB BLKSIZE=27960
200 SITE command was accepted
EZA1701I >>> PORT 160,69,4,33,28,57
200 Port request OK.
EZA1701I >>> STOR abc.txt
125 Storing data set /SYSTEM/etc/u/dept976/Departmental/Weekly Mainframe 
Capacity Statistics/abc.txt
250 Transfer completed successfully.
EZA1617I 5734 bytes transferred in 0.005 seconds.  Transfer rate 1146.80 
Kbytes/sec.
EZA1460I Command:
EZA1736I cd /SYSTEM/etc/u/dept976/Departmental/Weekly Mainframe Capacity 
Statistics
EZA1701I >>> CWD /SYSTEM/etc/u/dept976/Departmental/Weekly Mainframe Capacity 
Statistics
250 HFS directory /SYSTEM/etc/u/dept976/Departmental/Weekly Mainframe Capacity 
Statistics is the current working directory
EZA1460I Command:
EZA1736I locsite chmod 775  abc.txt
EZA2667W CHMod filename is not a valid HFS file.  CHMod ignored.
EZA1460I Command:
EZA1736I quit
EZA1701I >>> QUIT
221 Quit command received. Goodbye.

I can edit abc.txt and other things.  I can't see why abc.txt is an invalid HFS 
filename.
BTW - According to the IP User's Guide and Commands - this is the proper format 
for the LOCSITE CHMOD command.


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

Reply via email to