Problem:
Can we use MFTSO.EXE in a batch file to run a CLIST?
We can use MFJCL.EXE for batch JCL submission, but can not find a way to do this for TSO. Here is the syntax for running our JCL:
MFJCL.exe c:\\mfeprojs\\RSO\\RSOXKE.JCL /submit
We have included the CLIST contents and the commands we tried.
Resolution:
The supplied documentation for this question included a MFDAS IMPORT BINARY
Command followed by a MFTSO.EXE command naming a CLIST (.TSO extension)
as the parameter for MFTSO. The .TSO file contained the DB2 DSN RUN command
naming a database and a program to run.
The correct method is to use MFJCL.EXE from a command line (.bat file).
If one goes to the Mainframe Express Command Prompt, then types: mftso
a DOS Window asking for a userid is presented. It will then start a live TSO
session in Mainframe Express. The MFTSO interface is not designed to be
used for batch work. It is a gui interface.
The correct practice is to use a MFDAS IMPORT followed by the MFJCL
command line that names a JCL file containing an EXEC PGM=IKJEFT01 and
a //SYSTSIN DD using the DSN RUN command.
#EnterpriseDeveloper
#MFDS




