ADSM-L

REXX scripts and redirection

1996-01-23 11:27:17
Subject: REXX scripts and redirection
From: Tom Hepner <hep AT VNET.IBM DOT COM>
Date: Tue, 23 Jan 1996 08:27:17 PST
Tammi Belcher asks:

> I need help.  I have an OS/2 client who wishes to redirect output from a
> 'Q backup c:\*.* -subdir=yes' to a file on his workstation.  Has anyone
> written a script or rexx exec that might enable him to do this?

Here's a quick redirection script that will work:

/* A simple REXX exec to query dsmc and redirect the output */
'dsmc Q backup d:\*.* -subdir=yes -password=secret > qdsmc.out'

It's just that easy.

Tom Hepner - Availability Services
San Jose Technical Support Center
<Prev in Thread] Current Thread [Next in Thread>
  • REXX scripts and redirection, Tom Hepner <=