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
 

 

Syntax and Example of INLINE Perform

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
bala-lakshmi

New User


Joined: 01 Mar 2004
Posts: 6

PostPosted: Mon Mar 01, 2004 4:24 pm    Post subject: Syntax and Example of INLINE Perform
Reply with quote

hi friends,
can any one of u tell me about in-line perform statements,it's syntax
with an example program.
bye,
lakshmi icon_lol.gif
Back to top
View user's profile Send private message

sandip_datta

Active User


Joined: 02 Dec 2003
Posts: 151
Location: Tokyo, Japan

PostPosted: Mon Mar 01, 2004 6:34 pm    Post subject:
Reply with quote

MOVE 1 TO I.
PERFORM UNTIL I > 5
DISPLAY ' HELLO LAKSHMI...'
COMPUTE I = I + 1
END-PERFORM.

It will display HELLO LAKSHMI 5 times.

In line Perform is used when there is 1-2 (depending on some other conditions) executable statements. In that case a new Paragraph or section may not be worthy...

Regards,
Sandip.
Back to top
View user's profile Send private message
srimsc_ibmmainframes

New User


Joined: 17 Feb 2004
Posts: 19
Location: pune

PostPosted: Sat Mar 05, 2005 9:29 pm    Post subject: IN-LINE PERFORM
Reply with quote

THE DEFINITION OF IN-LINE PERFORM IS
IN-LINE PERFORM STARTS WITH PERFORM FOLLOWED BY STATEMENTS TO BE EXECUTED AND ENDS WITH END-PERFORM.
SYATAX IS.............
PERFORM
statements to be executed
-----------
-----------
END-PERFORM.

HOPE HELP THIS.
Back to top
View user's profile Send private message
mmunirathnam

New User


Joined: 14 Mar 2005
Posts: 4
Location: Srikalahasti

PostPosted: Tue Mar 15, 2005 10:39 am    Post subject:
Reply with quote

The Inline Performs are worked until there is no inrenal GOTO statements,
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 -> COBOL Programming 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 in-stream data set (inline data set) ... Andi1982 JCL & VSAM 4 Thu Jul 07, 2016 2:59 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 How to perform Digest Access Authenti... vasanthz All Other Mainframe Topics 0 Tue Mar 15, 2016 4:47 pm


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