- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Trying to use .Com job (Running on OpenVMS 7.3...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2008 02:17 PM
10-17-2008 02:17 PM
Trying to use .Com job (Running on OpenVMS 7.3-2) to Automate DBMS reports (IDX/GE) –
The bottom line is I don't know what routine(s) we should call to run the DBMS reports. Then we would need to determine if there is a way to pass in parameters for each query that change from query run to query run and whether the routine(s) allow us to pass in information about outputting the reports.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2008 07:02 AM
10-18-2008 07:02 AM
Re: Trying to use .Com job (Running on OpenVMS 7.3-2) to Automate DBMS reports (IDX/GE) –
We all recognize the "OpenVMS 7.3-2" part, but beyond that... ?!?
IDX/GE is a healthcare application. Right?
RDBMS is a shorthand for "our database" which possibly is "Cache". Correct?
(Or is it the Oracle RDBMS Codasyl database?)
"M routines" are application / Mumps routines?
Is all the data you need readily available in the database, and can it be extracted with native database calls, or do you neeed application service routines to make sense out of the data?
You mention automate. So it would seem you know how to generate a single report manually. How?
'Green-screen' (vt100) data entry + request?
If so, then even without any application knowledge you might be able to code up an 'expect' or 'kermit' style automated screen interaction.
Staying within OpenVMS you may want to google for: +openvms +"pseudo terminal"
This will guide you to 'PDT' function which allow you to have a program control pseudo screen access. Stick that in a self re-submitting batch job and presto.
You may also want to re-try your query in a newsgroup:
http://groups.google.com/group/comp.lang.mumps/topics?hl=en&lnk
Or maybe find some potential names of folks who speak this language using Google for : "M routines" idx
Good luck!
Hein van den Heuvel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2008 12:55 PM
10-19-2008 12:55 PM
Re: Trying to use .Com job (Running on OpenVMS 7.3-2) to Automate DBMS reports (IDX/GE) –
I think you're asking for a way to pass variables as input into a program.
Normally data input to a program is fixed, so in the procedure:
$ RUN MYPROG
data1
data2
data3
$ EXIT
program MYPROG will see 3 lines of data. If I have 3 symbols containing the data I want to feed into the program, it may be tempting to write:
$ sym1="data1"
$ sym2="data2"
$ sym3="data3"
$ RUN MYPROG
'sym1'
'sym2'
'sym3'
but this won't work! MYPROG will see "'sym1'" etc...
You can write the data into a temporary file and feed it in like this:
$ tmp=F$PARSE(F$UNIQUE(),"SYS$SCRATCH:.TMP;")
$ OPEN/WRITE tmp 'tmp'
$ WRITE tmp sym1
$ WRITE tmp sym2
$ WRITE tmp sym3
$ CLOSE tmp
$ DEFINE/USER SYS$INPUT 'tmp'
$ RUN MYPROG
$ DELETE 'tmp'
$ EXIT
or you can pipe the input line this:
$ send="WRITE SYS$OUTPUT"
$ PIPE (send sym1 ; send sym2 ; send sym3) | -
(DEFINE SYS$INPUT SYS$PIPE ; RUN MYPROG)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2008 01:23 PM
10-21-2008 01:23 PM
Re: Trying to use .Com job (Running on OpenVMS 7.3-2) to Automate DBMS reports (IDX/GE) –
All DBMS jobs are then run through batch. This allows using |F10| for an F10 key and skips pass the output file request window and uses the older logic where it just asks for the filename and file options. Most of the special keys can be put in the commnad file with the "|" on either side.
We have automated a number of our daily reports and writeoffs and run them through the night.
Bob Davidson
Loyola University Physician Foundation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2008 08:17 AM
10-22-2008 08:17 AM
Re: Trying to use .Com job (Running on OpenVMS 7.3-2) to Automate DBMS reports (IDX/GE) –
I think the "DBMS" the OP is referring to is a set of routines within the IDX application.
This question would be best answered by the IDX documentation, or an experienced IDX application programmer, and they would have to be given much more specific info. I do know that these types of routines can be and are called all the time non-interactively.
Normally a routine is called in "programmer mode" and the expected user input is provided inline in the command procedure, for example (using the cache database system):
$ csession -"U" AES ^ROUTINE_ENTRY_POINT_HERE
1
TUESDAY