HP3000-L Archives

February 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:
Doug Werth <[log in to unmask]>
Reply To:
Doug Werth <[log in to unmask]>
Date:
Wed, 9 Feb 2000 16:36:19 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (55 lines)
Chip,

Check the contents of SACMSGF? Since you have the CONTINUE statement prior
to executing the SHOWACC command, it is possible the SHOWACC command is
dying with an error prior to setting the SHOWACC variable. That error should
be recorded in the SACMSGF file.

Doug.

Doug Werth                             Beechglen Development Inc.
[log in to unmask]                               Cincinnati, Ohio

----- Original Message -----
From: Chip Dorman <[log in to unmask]>
To: <[log in to unmask]>
Sent: Wednesday, February 09, 2000 3:44 PM
Subject: Scope Of Session Variables


> I looked in Raven but couldn't find any mention so please
> pardon if this has been answered before.
>
> This there a difference between sessions and jobs
> in the scope of session variables set by a command file?
> I have a command file which upon execution sets a session
> variable.  If I run the command in a session I can reference
> the variable but not so in a job.
>
> Example using SHOWACC command file:
>
> in a session...
> :FILE SACMSGF;REC=-100,,F,ASCII
> :ECHO HPDATEF HPTIMEF > *SACMSGF
> :ECHO These were accessing primary databases >> *SACMSGF
> :CONTINUE
> :SHOWACC FINDB >> *SACMSGF
> :SHOWVAR SHOW@
> SHOWACC = 349
>
> in a job...
> 48 :FILE SACMSGF;REC=-100,,F,ASCII
> 49 :ECHO !HPDATEF !HPTIMEF > *SACMSGF
> 50 :ECHO These were accessing primary databases >> *SACMSGF
> 51 :CONTINUE
> 52 :SHOWACC FINDB >> *SACMSGF
> 53 :SHOWVAR SHOW@
> 54         ^
> 55 No match found for this variable set. (CIWARN 8116)
>
>
> Kinda looks like there is a difference.  Tell me it ain't so...
>
> Chip Dorman
> Greenfield Industries

ATOM RSS1 RSS2