SETSYSTEMVAL

Rohde, Dirk Dirk.Rohde at vpgroup.com
Fri Mar 16 12:09:36 CDT 2007


You actually need to create the file "b" ("AA" + staff-id), which you do
not appear to be doing. The simplest way to do this for a sequential
file is with the Unix "touch" command, which will create the file if it
doesn't exist. If this is an indexed file, you can use qutil to create
the file.

Dirk Rohde
VantagePoint Systems, Inc
T: 604-678-0336 or 604-685-4209 x 239 
F: 604-685-4186

 	 
	 
 -----Original Message-----
From: powerh-l-bounces+dirk.rohde=vpgroup.com at lists.sowder.com
[mailto:powerh-l-bounces+dirk.rohde=vpgroup.com at lists.sowder.com] On
Behalf Of Abd Ghani Abdullah
Sent: March 16, 2007 9:35 AM
To: powerh-l at lists.sowder.com
Subject: SETSYSTEMVAL


Powerhouse 8.43.D1 / HP-UX

Hello there,

I'm trying to set the system variable for the subscreen to identify
which file 
it should use.

eg:
in PHD
File AA Open $AA

In quick - 1st screen
LET b = "AA" + staff-id
if not setsystemval(AA,b)
 then error "cannot set work file")
run screen subscreen

in quick subscreen
some processing
PUT AA

I got the following error
Data access error. (AA*01)
No such file or directory (ERRNO 2)

I also tried to combined the command in a single screen, i.e. set the
variable 
and PUT in the same procedure to no avail.

Please help.

Thanks & regards.
Ghani.
-- 

= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l at lists.sowder.com
Subscribe: "subscribe" in message body to
powerh-l-request at lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request at lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
Add 'site:lists.sowder.com powerh-l' to your search terms to search the
list archive at Google.

This email may contain information that is privileged, confidential, or otherwise exempt from disclosure under applicable laws.  Unauthorized use, reproduction or dissemination of this email is strictly prohibited. If you have received this e-mail in error please inform the sender and delete it from your mailbox or any other storage mechanism. VantagePoint Systems, Inc. cannot accept liability for any statements made which are clearly the sender's own and not expressly made on behalf of VantagePoint Systems, Inc. or one of its agents.




More information about the powerh-l mailing list