That makes so much sense. Who wooda thunk?

Thanks to all that responded.
 
Ray Baraniecki 
Morgan Stanley Smith Barney
18th Floor 
1 New York Plaza 
New York, NY 10004 
Office - 212-276-5641
   Cell - 917-597-5692 
[email protected]          
BE CARBON CONSCIOUS. PLEASE CONSIDER OUR ENVIRONMENT BEFORE PRINTING THIS 
E-MAIL.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of 
McKown, John
Sent: Tuesday, August 11, 2009 10:02 AM
To: [email protected]
Subject: Re: Clist Quest

> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[email protected]] On Behalf Of Baraniecki, Ray
> Sent: Tuesday, August 11, 2009 8:53 AM
> To: [email protected]
> Subject: Clist Quest
> 
> I ran across the following IF statement in a Clist that I am 
> working on. The statement itself is understandable, it's the 
> period usage that I don't understand. Can anyone shed some 
> light on this?
> 
> IF .&ITEMS < .5 THEN DO
> 
> 
> Thanks,
> 
> 
> Ray Baraniecki

suppose the line were:

IF &ITEMS < 5 THEN DO

What if &ITEMS is null ('')? Without the periods, the CLIST intepreter would 
see the line:

IF < 5 THEN DO

which it could not handle (syntax error). So the periods are there just to make 
the line syntactically correct in the case where &ITEMS is null.

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
[email protected] * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--------------------------------------------------------------------------
Important Notice to Recipients:
It is important that you do not use e-mail to request, authorize or effect the 
purchase or sale of any security or commodity, to send fund transfer 
instructions, or to effect any other transactions. Any such request, orders, or 
instructions that you send will not be accepted and will not be processed by 
Morgan Stanley Smith Barney.
The Global Wealth Management Group of Morgan Stanley & Co. Incorporated and the 
Smith Barney division of Citigroup Global Markets Inc. have combined into 
Morgan Stanley Smith Barney LLC, a new investment adviser and broker-dealer 
registered with the Securities and Exchange Commission. The sender of this 
email is an employee of Morgan Stanley Smith Barney. 
 
Important disclosures on Morgan Stanley and Citi Investment Research & Analysis 
research reports may relate in part to the separate businesses of Citigroup 
Global Markets Inc. and Morgan Stanley that now form Morgan Stanley Smith 
Barney LLC. To view these important research disclosures, go to 
http://www.morganstanley.com/researchdisclosures and 
https://www.citigroupgeo.com/geopublic/Disclosures/index_a.html.
 
If received in error, please destroy and notify sender. Sender does not intend 
to waive confidentiality or privilege. Use of this email is prohibited when 
received in error. We may monitor and store emails to the extent permitted by 
applicable law.
 
 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to