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
 

 

Difference bw structured mode and reporting mode in NATURAL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
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

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
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: 176
Location: India

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: 176
Location: India

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
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 Asking you what you do for SMF SCRT r... Alan Playford All Other Mainframe Topics 12 Mon Jul 17, 2017 8:34 pm
No new posts Reg:Displaying the particular month o... bhavana yalavarthi All Other Mainframe Topics 4 Sat Jul 08, 2017 8:13 pm
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
This topic is locked: you cannot edit posts or make replies. Natural ADABAS Opening with CTS enikhilk Mainframe Jobs 0 Wed Nov 30, 2016 5:37 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm


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