System variables from within QUIZ

Bruin, J.M. (Mark) de mark.debruin at tno.nl
Fri Dec 1 02:54:29 CST 2006


Would QTP have the solution build in?
 
Using "output at final."
 
You should 'add' the items of the input file to a temporary item while
processing. 
You can then skip the final character as well (the 'comma') by only
reporting the temp up to that final character (size - 1).
 
Mind you, I didn't try this it is just based on memory.
 
Mark


________________________________

	From: powerh-l-bounces+mark.debruin=tno.nl at lists.sowder.com
[mailto:powerh-l-bounces+mark.debruin=tno.nl at lists.sowder.com] On Behalf
Of fernando.olmos at hpa.com.au
	Sent: Friday, December 01, 2006 00:56
	To: atla38 at dsl.pipex.com
	Cc: powerh-l at lists.sowder.com
	Subject: RE: System variables from within QUIZ
	
	
	 
	Oh and the result is a 1251 character long string, with the
contents of the portable subfile right justified. You then would have to
left justify it in QUIZ to get the line you need. OR you can do it
within the AWK command using sprintf() perhaps?
	 
	Thanks
	 
	-----Original Message-----
	From: Fernando Olmos 
	Sent: Friday, 1 December 2006 10:54 AM
	To: 'atla38 at dsl.pipex.com'
	Cc: 'powerh-l at lists.sowder.com'
	Subject: RE: System variables from within QUIZ
	
	 
	!cat ./mipss156t2b.ps | awk '{printf("%1251s\n", $0)}' >
./mlink_file.dat
	
	The mipss156t2b.ps is the data portion of the portable subfile
and the mlink_file.dat is the file referenced by the dictionary record
reference. The '$0' is saying, what ever comes out of that CAT command,
use it as a parameter into the printf() function, via the AWK command.
	 
	
**********************************************************************
	IMPORTANT
	The contents of this e-mail and its attachments are confidential
and intended
	solely for the use of the individual or entity to whom they are
addressed.  If
	you received this e-mail in error, please notify the HPA
Postmaster, postmaster at hpa.com.au,
	then delete  the e-mail.
	This footnote also confirms that this e-mail message has been
swept for the
	presence of computer viruses by Ironport. Before opening or
using any
	attachments, check them for viruses and defects.
	Our liability is limited to resupplying any affected
attachments.
	HPA collects personal information to provide and market our
services. For more
	information about use, disclosure and access see our Privacy
Policy at
	www.hpa.com.au
	
**********************************************************************


This e-mail and its contents are subject to the DISCLAIMER at http://www.tno.nl/disclaimer/email.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sowder.com/pipermail/powerh-l/attachments/20061201/fca98a90/attachment.htm


More information about the powerh-l mailing list