IND$FILE (TSO command) into JCL



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

IND$FILE (TSO command) into JCL

Postby gizmo » Tue Sep 25, 2018 6:34 pm

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 ?
gizmo
 
Posts: 5
Joined: Mon Sep 24, 2018 2:29 pm
Has thanked: 0 time
Been thanked: 0 time

Re: IND$FILE (TSO command) into JCL

 

Re: IND$FILE (TSO command) into JCL

Postby steve-myers » Tue Sep 25, 2018 6:40 pm

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.
steve-myers
Global moderator
 
Posts: 2078
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 235 times

Re: IND$FILE (TSO command) into JCL

Postby willy jensen » Wed Sep 26, 2018 3:18 am

Doesn't you mainframe host have a TCPIP server?
willy jensen
 
Posts: 307
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 42 times

Re: IND$FILE (TSO command) into JCL

Postby steve-myers » Wed Sep 26, 2018 5:29 am

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.
steve-myers
Global moderator
 
Posts: 2078
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 235 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post