Page 1 of 1

IND$FILE (TSO command) into JCL

PostPosted: Tue Sep 25, 2018 6:34 pm
by gizmo
Hi all,

I want to transfert a file from PC to HOST (mainframe).

For the target data set, you usually need the code below :
IND$FILE PUT 'library_name(membre_name)' ASCII CRLF RECFM(V)


For the source file : I don't know the code about it. I want your help, to find it.

My requirement is to integrate these codes into a jcl, on batch.

Help me please ?

Re: IND$FILE (TSO command) into JCL

PostPosted: Tue Sep 25, 2018 6:40 pm
by steve-myers
No can do. Data transfer via IND$FILE (I don't recall the official name for the service) is restricted to TSO terminal sessions run through a 3270 emulation service.

Re: IND$FILE (TSO command) into JCL

PostPosted: Wed Sep 26, 2018 3:18 am
by willy jensen
Doesn't you mainframe host have a TCPIP server?

Re: IND$FILE (TSO command) into JCL

PostPosted: Wed Sep 26, 2018 5:29 am
by steve-myers
Again Mr. Jensen has a point, but ...

There are a number of alternatives, though most require the TCPIP FTP service. Sticking to "standard" (and "free" or nearly "free" services) you need an FTP server on your mainframe, or, to get something sort of like the topic starter seems to want, an FTP server on his work station that the mainframe FTP client can connect to. This is non-trivial. There are reputed to be fairly "good" FTP servers that can be installed on client PCs.