The # is invalid in a dataset name. There is an FTP command (SBDataconn) to tell FTP to perform a specific translation.
See http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1B9A1/5.65?SHELF=f1a1bkd1&DT=20120118035151 for details (watch the wrap). Al Staller | Z Systems Programmer | KBM Group | (Tel) 972 664-3565 | allan.stal...@kbmg.com -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Boris Lenz Sent: Friday, January 18, 2013 7:47 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: FTP z/OS to z/OS "501 Invalid data set name" - codepage issue? I can't get an FTP PUT to work with dataset names that contain a dollar sign (x'5B', which is the pound sign on the target system). Source system is z/OS, codepage IBM-500 Target system is z/OS, codepage IBM-285 FTP commands: TYPE E SITE ISPFSTATS PUT 'USERA.TSO.EXEC($TEST)' QUIT The output is: EZA1701I >>> STOR 'USERA.TSO.EXEC($TEST)' 501 Invalid data set name "''USERA.TSO.EXEC($TEST)'". Use MVS Dsname conventions. EZA1735I Std Return Code = 27501, Error Code = 00002 This happens with all dataset types and members, except for loadmodules, i.e. I can PUT load modules with lcd/cd/put even if they contain dollar signs in their name. Any clues? Thanks, Boris ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN