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

Difference bw structured mode and reporting mode in NATURAL


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
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
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: 2358
Location: Israel

PostPosted: Mon Mar 26, 2007 6:12 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts HILITE on Browse mode? TSO/ISPF 2
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
Search our Forums:

Back to Top