Hi,
I am trying to send a txt file via FTP to the Mainframe or MVS. the file gets sent to the MVS but the user name gets appended to the file name.
For eg if i am sending test.txt, in the mainframe it lands as username.test.txt.
I tried putting the filename inside single quotes but I get an error message saying No such file or directory.
put '$FTP_FILE_NAME' is the command i am using.
also i am trying to set the record length and the block type as
quote site Lrecl=160 recfm=FB
But the records are going with length 124 and format as VB.
So these are my queries.
1) how to send file only with the actual name.
2) how to set the record length and block type?
Can someone help me out with these queries?