Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Types of PERFORM statements avaialble

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

New User


Joined: 15 Feb 2007
Posts: 8
Location: pune

PostPosted: Fri Feb 23, 2007 9:43 pm    Post subject: Types of PERFORM statements avaialble
Reply with quote

Hi All,
how many types of perform statements are their.
and also plz tell difference between perform with test before and perform with test after.






thanks,
ankul
Back to top
View user's profile Send private message

khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Fri Feb 23, 2007 10:02 pm    Post subject: Doubt
Reply with quote

Hi ANKUL KHANDELWAL,

Quote:
how many types of perform statements are their.

PERFORM
PERFORM THRU
PERFORM 'N' TIMES
PERFORM UNTIL
PERFORM VARYING WITH 'N' UNTIL OPTION


Quote:
difference between perform with test before and perform with test after.


The test condition which you are specifying in the perform is checked before if you are giving "TEST BEFORE "
likewise the condition is checked after executing the loop atlease one time in "TEST AFTER "
"TEST BEFORE" will execute only if the condition is met ...
"TEST AFTER" will execute atlease one time then the condition is checked.

Let me know if you need any more details ..
Back to top
View user's profile Send private message
vineela

New User


Joined: 26 Feb 2007
Posts: 1
Location: bangalore

PostPosted: Mon Feb 26, 2007 3:38 pm    Post subject: Re: perform statements
Reply with quote

hi,

further clarification on the above topic.
which will be the default?
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Mon Feb 26, 2007 4:34 pm    Post subject:
Reply with quote

HI Vineela,

Quote:
which will be the default?


What do u mean by this? If u r asking which is default between test befor & test after then answer is test befor.

Let me know if i misunderstood
Back to top
View user's profile Send private message
devidas-patil

New User


Joined: 08 Jan 2007
Posts: 54
Location: pune

PostPosted: Mon Feb 26, 2007 4:50 pm    Post subject: Perform varying
Reply with quote

I think so she asking about which will be default when we are using the perform varying.
if we are using perform varying then
test before will be the default.
Back to top
View user's profile Send private message
ANKUL KHANDELWAL

New User


Joined: 15 Feb 2007
Posts: 8
Location: pune

PostPosted: Mon Feb 26, 2007 7:38 pm    Post subject:
Reply with quote

HI ALL,
MY ISSUE RESOLVED BOZ.THANK U VERY MUCH,THERE WAS A CONFUSION ,SOME SAID 6 OR 7 TYPES ARE THERE.



THANKS AND REGARDS
ANKUL M KHANDELWAL
PUNE.
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 PLI %IF statements Pedro PL/I & Assembler 1 Tue Sep 19, 2017 12:06 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm
No new posts Extracting Information from DD Statem... Charles Wolters All Other Mainframe Topics 7 Wed Apr 13, 2016 10: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
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us