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
 

 

Inline perform and perform statement in cobol

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

New User


Joined: 27 Apr 2005
Posts: 2
Location: hyderabad

PostPosted: Wed Apr 27, 2005 2:58 pm    Post subject: Inline perform and perform statement in cobol
Reply with quote

what is the difference in between inline perform and perform? and give me one example
regards
Back to top
View user's profile Send private message

gnagakishore

New User


Joined: 26 Mar 2005
Posts: 25
Location: Hyderabad

PostPosted: Wed Apr 27, 2005 8:42 pm    Post subject:
Reply with quote

in line perform is used when u r gaurenteed that the code inside the
scope of the perform is not used by any other .
ex. perform ... <until..>
----sentences-----
----sentences----
end-perfom.
AS i think u knw about perfom iam giving its details
Back to top
View user's profile Send private message
venkat4ibm

New User


Joined: 27 Apr 2005
Posts: 2
Location: hyderabad

PostPosted: Thu Apr 28, 2005 12:55 pm    Post subject: give me example of inline perform statement not syntax
Reply with quote

hai please give me reply on above question
Back to top
View user's profile Send private message
ssowjanya

New User


Joined: 29 Apr 2005
Posts: 13

PostPosted: Fri May 13, 2005 12:21 pm    Post subject: Re: about inline perform and perform statements in cobol
Reply with quote

Hi,
INLINE Perform: When we r sure if the code is not repetitively used anywhere else in the program, then inline can b used
PROCEDURE DIVISION.
PARA-1
PERFORM UNTIL condition...
.......stmts........
END PERFORM.
STOP RUN.
PERFORM: It is used when the group of code is used several times in the program.
PERFORM is advisable if there is repetition of code
PROCEDURE DIVISION.
PARA-1.
PERFORM PARA-2 UNTIL condition
....stmts....
STOP RUN.
PARA-2.
.....stmts....
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 XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm


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