View previous topic :: View next topic
|
Author |
Message |
Prabaharan.D
New User
Joined: 14 Nov 2008 Posts: 3 Location: Chennai
|
|
|
|
Hi All,
I am sending a dataset(file) via FTP in mainframe to another server.
I need to change the file attributes. How to change them during FTP'ing it?
Currently the file attribute are (-rw-r-----)
I need to change it to (-rw-r--r--) so that all users in that server will be able to read this file without any access issues.
I tried with CHMOD command but it does not worked while FTP from mainframe. Any other ways to do this so that file is made available ot read for all?
Please help.
Regards
Prabaharan. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
In FTP, try
Code: |
SITE CHMOD 644 <filename> |
|
|
Back to top |
|
|
Prabaharan.D
New User
Joined: 14 Nov 2008 Posts: 3 Location: Chennai
|
|
|
|
Thanks for your reply.
But still I the following error:
Any other idea please?
----------------------------------------------------------------------
SITE CHMODE 644 'GRP9.MWG.CB563A01.DELTESAE.XO'
EZA1701I >>> SITE CHMODE 644 'GRP9.MWG.CB563A01.DELTESAE.XO'
500 'SITE CHMODE 644 'GRP9.MWG.CB563A01.DELTESAE.XO'': command not understood.
EZA1460I Command:
---------------------------------------------------------------------- |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
You spelled it wrong ... chmod does not have an E on the end.
If it doesn't like the SITE command, try QUOTE SITE .... |
|
Back to top |
|
|
Prabaharan.D
New User
Joined: 14 Nov 2008 Posts: 3 Location: Chennai
|
|
|
|
Thanks very much.
It worked.
Great help you did. :) |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Glad to hear it worked. |
|
Back to top |
|
|
|