HP3000-L Archives

June 2002, 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:
Paul Scott <[log in to unmask]>
Reply To:
Date:
Wed, 12 Jun 2002 16:21:51 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (66 lines)
Is there any way to accomplish this in an echo command?

I have gotten stuck in file processing where I have to explicitly reference
the variable with the echo command to send it out to a file.
Example:
echo !str_var_over_300_in_length >*outfile

Is there another output function that I can use instead?

Thanks,

Paul "Inquiring minds want to know" Scott

-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On
Behalf Of John Clogg
Sent: Wednesday, June 12, 2002 4:06 PM
To: [log in to unmask]
Subject: Re: [HP3000-L] SETVAR


You might be able to accomplish this by not dereferencing the _CCX_VAR_1
variable.  If it is already a string variable (which I assume is the case,
given its length), you can simply use the variable name in the STR function
parameter list, rather than the dereferenced variable in quotes, i.e.,

 SETVAR CCX_IMG_EDP STR(_CCX_VAR_1,944,11)

This way the command does not expand at all.

-----Original Message-----
From: Donald N. Frantum [mailto:[log in to unmask]]
Sent: Wednesday, June 12, 2002 4:00 PM
To: [log in to unmask]
Subject: SETVAR


I am trying to execute the following commands, but I receive an error.

HP989/HITEST:     SETVAR CCX_IMG_EDP STR("!_CCX_VAR_1",944,11)
                                          ^
Expanded command line exceeds 511 characters. (CIERR 8105)


8105

MESSAGE   EXPANDED COMMAND LINE EXCEEDS 279 CHARACTERS. (CIERR 8105)
CAUSE   After all dereferencing of variables was done, the size of the
command line increased so that the number of characters is greater than
279. This is not allowed.
ACTION   Reduce size of command line.

Does anyone know a way to extend this number?

Thanks in advance,
Donald

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2