HP3000-L Archives

April 2000, Week 2

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:
Walter Murray <[log in to unmask]>
Reply To:
Date:
Wed, 12 Apr 2000 16:10:57 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (20 lines)
Gates, Scott ([log in to unmask]) wrote:
: I need to get a COBOL program to accept command line input
: if that's possible.
: I know I can use an ACCEPT statement in the program, but
: this stops the program from running waiting for input if the program is
: being run by a UDC.
: I'd like it to run the program  and if the PARAM is blank,
: skip it.
:                 Like this
:                 RUN PROGNAME.progxl  SWITCH

If your goal is to have the program begin execution at one of
several predefined points, consider using alternate entry points.
See my article, "COBOL II/iX Enhancements," starting on page 150 of
the MPE/iX 6.0 Communicator.

Walter Murray
Hewlett-Packard
Support Technology Lab

ATOM RSS1 RSS2