Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

EXECIO

426 views
Skip to first unread message

Kalinich, John

unread,
Jul 25, 2000, 3:00:00 AM7/25/00
to
You need to allocate the file (ddname) that you want to access with the
following TSO command:

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
>

AJ Johnson

unread,
Jul 25, 2000, 3:00:00 AM7/25/00
to

Khan, Moyeen , M.A.

unread,
Jul 25, 2000, 3:00:00 AM7/25/00
to
In VM, you specify the file name in the EXECIO command. In TSO, you must
first ALLOCATE the dataset and use the DDname from this allocate in EXECIO
DISKR command. Ex:-
"ALLOC F(INP) DA('filname') SHR"
"EXECIO DISKR * INP(................."

O E Jordan

unread,
Jul 25, 2000, 3:00:00 AM7/25/00
to
You'll need the TSO Allocate command.

gdonze - Greg Donzelli

unread,
Jul 25, 2000, 3:00:00 AM7/25/00
to
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

DISPLAYJ.txt

Duane

unread,
Jul 25, 2000, 3:00:00 AM7/25/00
to
At 12:42 PM 07/25/2000 -0500, you wrote:
>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'
Prior to using the EXECIO statement, you must use the TSO ALLOCATE command
to allocate a dataset
to a ddname.

As in:

ALLOCATE SYSIN DA(datasetname) SHR
EXECIO * DISKR SYSIN (FINIS


This was not required in VM REXX.

Duane

Guy LHeureux

unread,
Jul 25, 2000, 3:00:00 AM7/25/00
to
I am using OS/390 MVS REXX.

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

0 new messages