IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

New syntax encountered


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
monasu1998

Active User


Joined: 23 Dec 2005
Posts: 176
Location: India

PostPosted: Thu Dec 20, 2007 10:28 am
Reply with quote

Hi,
I have encountered the following code in a program

If +Top-fourgous=''
+Top-fourgous='N'
...
End-if

What does it means ? Does it implies an AND or OR between the 2 conditions ? Or does it means something else ?


Thanks
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Dec 20, 2007 11:47 am
Reply with quote

The "+" sign is an accepted method among NATURAL programmers to define an AIV (Application Independent Variable) or Global variables.

O.
Back to top
View user's profile Send private message
monasu1998

Active User


Joined: 23 Dec 2005
Posts: 176
Location: India

PostPosted: Thu Dec 20, 2007 1:31 pm
Reply with quote

Hi Ofer,

I understand that AIVs are acceptable in Natural. But my doubt is about the If condtion statement. what does the conditional statement mean?

Could you please try to help me?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Dec 20, 2007 1:35 pm
Reply with quote

It checks wheater the variable "+Top-fourgous" equals blanks.

O.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts CNTL= Command Syntax Documentation CA Products 3
This topic is locked: you cannot edit posts or make replies. issue with Syntax error SYNCSORT 2
No new posts DO we have alternate syntax for IFTHEN? Compuware & Other Tools 8
No new posts How syntax check at Bind time is diff... DB2 5
Search our Forums:

Back to Top