IND$FILE (TSO command) into JCL

JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...
gizmo
Posts: 5
Joined: Mon Sep 24, 2018 2:29 pm
Skillset: mainframe jcl and rexx
Referer: internet

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 :

Code: Select all

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 ?

steve-myers
Global moderator
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Skillset: Assembler, JCL, utilities
Referer: zos.efglobe.com

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.

willy jensen
Posts: 474
Joined: Thu Mar 10, 2016 5:03 pm
Skillset: assembler rexx zOS ispf racf smf
Referer: saw it in the experts foprum thought I could help here

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?

steve-myers
Global moderator
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Skillset: Assembler, JCL, utilities
Referer: zos.efglobe.com

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.


  • Similar Topics
    Replies
    Views
    Last post