IBM / zos-node-accessor

z/OS Node Accessor - A Node module to help Node.JS developers interacting with z/OS easily.
Eclipse Public License 1.0
35 stars 18 forks source link

Issue TSO commands #17

Closed dogboydog closed 6 years ago

dogboydog commented 6 years ago

Issuing TSO commands allows a lot of functionality like executing REXX, TSO commands exposed by products you have installed, etc.

p. 328 (352 in PDF) https://www-304.ibm.com/servers/resourcelink/svc00100.nsf/pages/zosv2r3sc273662/$file/halu001_v2r3.pdf

polyrabbit commented 6 years ago

Emm, it seems the TSO subcommand is only available on the USS ftp CLI, a Unix ftp CLI (including the ftp node module) doesn't have that one.

Help doc for supported subcommands on my Mac:

!       dir     macdef      proxy       site
$       disconnect  mdelete     sendport    size
account     epsv4       mdir        put     status
append      form        mget        pwd     struct
ascii       get     mkdir       quit        system
bell        glob        mls     quote       sunique
binary      hash        mode        recv        tenex
bye     help        modtime     reget       trace
case        idle        mput        rstatus     type
cd      image       newer       rhelp       user
cdup        ipany       nmap        rename      umask
chmod       ipv4        nlist       reset       verbose
close       ipv6        ntrans      restart     ?
cr      lcd     open        rmdir
delete      lpwd        passive     runique
debug       ls      prompt      send

And on USS:

!         ?         acct       append    ascii    auth       big5
binary    block     ccc        cd        cdup     clear      close
compress  cprotect  debug      delete    delimit  dir        dump
ebcdic    euckanji  feature    file      get      glob       hangeul
help      ibmkanji  jis78kj    jis83kj   ksc5601  language   lcd
lmkdir    locsite   locstat    lpwd      ls       mdelete    mget
mkdir     mkfifo    mode       mput      mvsget   mvsput     noop
open      pass      private    prompt    protect  proxy      put
pwd       quit      quote      record    rename   restart    rmdir
safe      schinese  sendport   sendsite  site     sjiskanji  srestart
status    stream    structure  sunique   system   tchinese   tso
type      ucs2      user       verbose
dogboydog commented 6 years ago

Ah sorry. I must have been looking at the wrong part of the doc for both of these issues (the USS one too). Sorry about that, thanks for clarifying - I'm dumb