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:
Ron Horner <[log in to unmask]>
Reply To:
Date:
Tue, 11 Apr 2000 20:40:05 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (38 lines)
There is an intrinsoc that will do this.  It is called GETINFO, I think.
 It allows you to use the "info=" option on the run statement for you
program.

Hope it helps!!!!!

Ron Horner
Consulting Computer Specialist
http://horner.horner.home.mindspring.com


-----Original Message-----
From:   Gates, Scott [SMTP:[log in to unmask]]
Sent:   Tuesday, April 11, 2000 4:41 PM
To:     [log in to unmask]
Subject:        COMMAND LINE PARAMS

                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


                ************************************************
                * Scott Gates-ext 7994  | There is no problem  *
                * UPMC Health Plan      | in the world that    *
                * [log in to unmask]  | cannot be made worse *
                * 412-454-7994          | overreacting to it.  *
                ************************************************

ATOM RSS1 RSS2