[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Is there a way to move null value to a string variable?
- Subject: Re: Is there a way to move null value to a string variable?
- From: "Kloprogge,Frank F.J.M." <F.J.M.Kloprogge@FONTYS.NL>
- Date: Wed, 19 Dec 2001 13:22:22 +0100
The simplest way to do this is to assign a non used variable to your
variable.
i.e let $var=$null
if $null never has been used, it has no value.
Frank Kloprogge
Fontys ICT-Services
DBA PeopleSoft
08778-78710
-----Oorspronkelijk bericht-----
Van: Chandrakant Joshi [mailto:Chandrakant_Joshi@PUTNAM.COM]
Verzonden: dinsdag 18 december 2001 22:33
Aan: SQR-USERS@LIST.IEX.NET
Onderwerp: Is there a way to move null value to a string variable?
Hi Guys,
We are using SQRv 3.0.1.3.3.
Is there a way to Move null values to a string variable say $var ?
I know that I can't have a statement like
'move null to $var'.
Is there any workaround?.
Basically I need to move null values to a variable as it's default value.
Thanks for your help,
Joshi