ALLOC F(ddname) DA('name.of.your.file') SHR REUSE
> -----Original Message-----
> From: AJ Johnson [mailto:AJ.JO...@CHASE.COM]
> Sent: Tuesday, July 25, 2000 12:43 PM
> To: TSO-...@VM.MARIST.EDU
> Subject: EXECIO
>
>
> I am an OS/2 and VM REXX programmer and new to TSO-REXX.
>
> I am trying to use EXECIO in TSO and get the following error
> message: IRX0605E
> - EXECIO "ddname" positional parameter is not valid.
>
> My syntax: 'EXECIO * DISKR ddname (FINIS'
>
> I'm sure there are other commands that set up the ddname. Can
> anyone shed some
> light?
>
> Thanks,
>
> AJ
>
Here's a sample REXX I use to copy tasks running on a system in a PDS.
Hope this helps.
Greg Donzelli
OS390 - Automation Support
DG_OS - AutomationGroup@acxiom
X 8912
-----Original Message-----
From: AJ Johnson [mailto:AJ.JO...@CHASE.COM]
Sent: Tuesday, July 25, 2000 12:43 PM
To: TSO-...@VM.MARIST.EDU
Subject: EXECIO
As in:
ALLOCATE SYSIN DA(datasetname) SHR
EXECIO * DISKR SYSIN (FINIS
This was not required in VM REXX.
Duane
I have an input file named INFILE01. It contains names of datasets in it
(which I do a parse var on to get the first field). I then take that dataset and
run a listdsi command on the named dataset.
Here is the problem,
The particular dataset that I am doing a listdsi on is corrupt (and has no
directory, even though it is defined as DSORG=PO).
If the INFILE01 is a DD *, then I will get a function code or 16 (which is what I
expect). But, if INFILE01 is a dataset, then I get a function code of 0, and the
values of the other variables returned by LISTDSI are set to some value (some valid
and some invalid).
Any Answers?
Thanks - Guy