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?
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:
----------------------------------------------------------------------