On Tue, 28 Aug 2012 00:45:25 -0700, Lizette Koehler wrote:

>Peter,
>"I" works fine if working in ISPF.  But when the question of line command is 
>requested, I am thinking along the lines of a simple interface that could be 
>used batch or foreground.
> 
Thanks for your understanding.  Simply, there are too many disjoint
ways of retrieving not enough information about a data set.  These
include HLIST, LISTDS, LISTCAT, BPXWDYN(INFO), Rexx LISTDSI,
ISPF DSLIST, ISPF DDLIST, ... probably many others.  There should
be a single "simple interface" to retrieve any of the information
supplied by any of the above.

It should be accessible with:

o JCL EXEC PGM=

o TSO CALL

o Assembler CALL

o Rexx  address LINKMVS

(the above interfaces are all very similar.)

o Other Rexx interfaces.

It should be able to direct its output to:

o TSO terminal.

o DDNAME if OUTDD() specified

o Rexx compound variable if STEM() specified.

o Reply buffer supplied by assembler CALL or Rexx LINKMVS.

It should accept as argument:

o Catalogued data set name
  - even with the extended syntax allowed by DISABLE(DSNCHECK)

o Uncatalogued data set name if UNIT and VOL are specified
  - again even with nonstandard name syntax

o DDNAME, which may refer to:
  - catalogued data set
  - uncatalogued data set
  - temporary DSN
  - VIO data set
  - UNIT and VOL with no DSN coded
  - UNIX path

(have I missed any?)  With DDNAME specified it should (be able to)
return attributes which will be used in the DCB merge at OPEN, not
necessarily those in the DSCB.

DDNAME should be allowed to be any 8-character string that could
have been allocated by SVC 99; not restricted to JCL syntax (the
latter could be retrieved if desired by issuing a second call with DSN,
UNIT, and VOL supplied by a previous call).

The values returned should be sufficient to allow reallocation of the
same entity to a different DDNAME with TSO ALLOCATE or BPXWDYN.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to