HP3000-L Archives

September 2000, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tim Ericson <[log in to unmask]>
Reply To:
Tim Ericson <[log in to unmask]>
Date:
Fri, 22 Sep 2000 14:10:17 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (44 lines)
Ric asked:
> I am looking for a "clean" solution to the following problem.
> It must be in MPE/iX JCL.  Please, no 3rd party software
> solutions.

And Leonard suggested:
> :ERRCLEAR          <To set certain predefined variables,
>                     including CIERROR, to default>
> :LISTF fileset>$NULL
> :IF CIERROR <> 431 THEN
> :    LISTF fileset >*MyMsg
> :ELSE
> :               do something if no files exist
> :ENDIF



I think this could be simplified as follows:

:ERRCLEAR
:LISTF fileset >*MyMsg
:IF CIERROR <> 431 THEN
:               do whatever to MyMsg
:ELSE
:               do something if no files exist
:ENDIF

But that is off the top of my head, without testing, so buyer
beware!

HTH!

 +-------------------------------------------------------------------+
  My mind is my own, as are my ideas and opinions.
  My heart, body, and soul, however, all belong to others.       Tim.
 +-------------------------------------------------------------------+
  Tim Ericson            tericson      DenKor Dental Management Corp.
  Sr. Systems Analyst     at denkor    503-526-4440 (my direct number)
    (& Systems Manager)     dot com         http://www.denkor.com
  Programming HPe3000s since 1983!     Quality dental care since 1970!
 +-------------------------------------------------------------------+
  UDCs and Command Files:  http://www.denkor.com/hp3000/command_files
 +-------------------------------------------------------------------+

ATOM RSS1 RSS2