"ISPEXEC WSCON IP(IPADD) CODEPAGE(0037) CHARSET(0697) NOGUIDSP"
will establish the connection. Yes the connection agent is active.
Actually I am trying to receive a file from mainframes to desktop. And I am using this command.
WSFN = 'C:\DOCUMENTS AND SETTINGS\FTP'
OUTFILE =DSNAME /* the file which i want from mainframes */
"ISPEXEC FILEXFER WS(WSFN) HOST(OUTFILE) TO(WS)"
Yes I have made some corrections and it went fine. The next problem I am seeing is posted as "extract member name for a given PDS".
I have explained about my problem in detail in that post. I kindly request you all to have a look into it.