Joined: 01 Aug 2005 Posts: 105 Location: Somerset, NJ
I need to FTP few files from a WINDOWS server onto Mainframe, I use a batch file and a command file (both MS-DOS based). When the batch file is executed it in turn executes the command file, but this actually asks for the password for your racf id. Now my requirement is to hard cord the password, i.e, it should not prompt for the password (it should accept the hard coded password).
Does anyone know how to achieve this?
Please find the sample command file below:
open XXXX (the mainframe region)
yyyy (the racf id)
literal site cy
literal site pri=10
literal site sec=10
literal site lrecl=561
put C:\CCL\file\agent.file 'TFXZ.AGENT.SP1.FILE'
What this does is, it opens the XXXX region and asks for the password for yyyy; what I need is, it should not ask for the password.