Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Difference bw structured mode and reporting mode in NATURAL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> NATURAL & MQSERIES
Author Message
bhumika

New User


Joined: 05 Mar 2007
Posts: 1
Location: hyderabad

PostPosted: Mon Mar 26, 2007 12:22 pm    Post subject: Difference bw structured mode and reporting mode in NATURAL
Reply with quote



hi ,
i m new to natural as well as to this forum can any one tell me the diff. b\t the [b]structured mode and reporting mode
in natural
Back to top
View user's profile Send private message
References
PostPosted: Mon Mar 26, 2007 12:22 pm    Post subject: Re: Difference bw structured mode and reporting mode in NATURAL Reply with quote

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 1867
Location: Israel

PostPosted: Mon Mar 26, 2007 6:12 pm    Post subject:
Reply with quote

The main differences are:
- Structured mode requires a "DEFINE DATA" block (oltough you can use it in REPORT mode, too).
- Structure mode requires an ending statement for each statement, like END-READ, END-FIND, END-IF etc.

There are many other syntactical differences. Refer to Software-AG's fine manuals for full documentation.

By the way, there is a tool to automatically convert REPORT mode programs to STRUCTURE mode.

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

Active User


Joined: 23 Dec 2005
Posts: 96
Location: Hyderabad

PostPosted: Wed May 16, 2007 6:20 pm    Post subject:
Reply with quote

Hello,

Could you please let us know how to convert a Reporting program to Structured mode using any tool?

10x
Back to top
View user's profile Send private message
monasu1998

Active User


Joined: 23 Dec 2005
Posts: 96
Location: Hyderabad

PostPosted: Wed May 23, 2007 11:14 am    Post subject: Re: Difference bw structured mode and reporting mode in NATU
Reply with quote

In Structered mode all variables has to be defined in Define Data area. Where as in Reporting mode Variables can be defined any where in the program as and when needed.

Generally in reporting mode Database READ,FIND,HISTOGRAM statements are ended with LOOP stetement.

Some people call Reporting Mode programs with DEFINE DATA statement as MIXED mode program.


bhumika wrote:


hi ,
i m new to natural as well as to this forum can any one tell me the diff. b\t the [b]structured mode and reporting mode
in natural
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> NATURAL & MQSERIES All times are GMT + 6 Hours
Page 1 of 1