HP3000-L Archives

December 1996, Week 5

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:
Ken Kirby <[log in to unmask]>
Reply To:
Date:
Tue, 31 Dec 1996 14:36:07 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
You can call your QUIZ UDC or command file from a COBOL program using
the HPCICOMMAND intrinsic. This works for command files and for
UDC's as well. Pass the name of your executable to QUIZ using
the AUTO= option of the ;INFO parameter.

This works better than creating a process that runs the QUIZ program,
because the QUIZ UDC does a lot more than just run the program.

Also, I think your COBOL program will need to be in a group with
PH capability to do this.

I hope this helps. I'll be glad to give you more information if
you need it.

--Ken Kirby
  Vanderbilt University
_______________________________________________________________________
Don Paterwic wrote:
>
> can this be done? I have a cobol program that need to get a
> unique identifier, one that is already generated on the system
> by a quiz program (if I can use it I don't need to worry about
> logic to replicate number). Is it posssible to call this quiz
> program (executable) from a cobol program and use quizes output
> result to a file?                  Thanks

ATOM RSS1 RSS2