REXX Batch Telnet
REXX Batch Telnet gives you code to create a simple batch process to execute a string of Telnet commands.
You can email me if you have questions at alan@nichols.de
The source is here REXX Batch Telnet
This is in text format use your right mouse
button to download it and then ftp it to OS/390 using ascii transfer to an existing PDS with at least lrecl=80
and member name BTLN
Here is some JCL to start your run.
//STEP0001 EXEC PGM=IRXJCL,PARM='BTLN 192.168.1.1'
//SYSEXEC DD DISP=SHR,DSN=
//SYSTSIN DD DUMMY
//SYSTSPRT DD SYSOUT=*,DCB=LRECL=256
//SYSTIN DD DUMMY
//TELOUT DD SYSOUT=*,DCB=LRECL=256
//TELIN DD *
gin:
myuser
ord:
mypass
>
d ro
>
exit
/*