Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

New syntax encountered

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
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    Post subject: New syntax encountered
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: 2360
Location: Israel

PostPosted: Thu Dec 20, 2007 11:47 am    Post subject:
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    Post subject: Re: New syntax encountered
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: 2360
Location: Israel

PostPosted: Thu Dec 20, 2007 1:35 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts Syntax for running batch history repo... polymathtarun CA Products 1 Tue Jun 21, 2016 1:51 pm
No new posts Syntax to check the first 4 digits of... kshirabdhi DFSORT/ICETOOL 10 Tue May 03, 2016 12:21 pm
No new posts Syntax to create new tableBASE library Sumeendar IBM Tools 1 Tue Sep 15, 2015 6:25 pm
No new posts Illegal symbol syntax error HABBIE DB2 5 Wed Aug 26, 2015 5:58 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us