Accessing variable file names in Powerhouse/Axiant.
Lorry Litman
LLitman@exchange.hsc.mb.ca
Tue, 4 Dec 2001 12:12:58 -0600
Hi,
I might be misunderstanding what you're trying to accomplish, but, a few
things come to mind that may apply.
1. use of ITEM verb
as in
DEFINE D_FILE_NAME CHAR*31 = SCREEN_FIELD IF ...
then in a procedure of some sort
RUN SCREEN ITEM D_FILE_NAME ...
2. use define item for RUN COMMAND
as in
DEFINE D_FILE_NAME CHAR*31 = "@" + SCREEN_FIELD IF ...
then in a procedure of some sort
RUN COMMAND D_FILE_NAME ...
3. use SETSYSTEVAL if it's a VMS logical you want to access
as in some procedure
IF NOT SETSYSTEMVAL("VMS LOGICAL",SCREEN FIELD ENTRY,LOGICAL,"LNM$JOB")
THEN ....
ELSE RUN COMMAND "@VMS LOGICAL"
you may also want to use DELETESYSTEMVAL("VMS LOGICAL",LOGICAL,"LNM$JOB")
Hope this helps.
Thanx
Lorry
-----Original Message-----
From: Troy, Kenneth [mailto:kenneth.troy@eds.com]
Sent: Tuesday, December 04, 2001 6:39 AM
To: powerh-l@lists.swau.edu
Subject: Accessing variable file names in Powerhouse/Axiant.
Hi,
Our development environment is Axiant 4Gl version 2.03 for a VMS. I am
trying to
access a variable named indexed file based on a filename that the user
enters on screen.
Does anyone have any experience is handling variable filenames in Axiant on
VMS.
How do you reference the file on VMS.
I've trying defining a logical to the file in a RUN COMMAND process but this
hasnt
worked as it spawns a subprocess. The logical cant be read by the main
process.
Regards,
Ken
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.