Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

perform I from 0 by 1 until I=5?How maney times it will
executes

Answer Posted / pradeep

IT WILL EXECUTE 5 TIMES

COBOL CODE:
IDENTIFICATION
DIVISION.
PROGRAM-ID.
MOVEPGM.
DATA
DIVISION.
WORKING-STORAGE
SECTION.
01 WS-I PIC 9
(2).
PROCEDURE
DIVISION.
A1000-MAIN-
PARA.
PERFORM PARA-X VARYING WS-I FROM 0 BY 1 UNTIL WS-
I=5
STOP
RUN.
PARA-
X.
DISPLAY "TEST2".


OUTPUT:

COMMAND INPUT ===>
********************************* TOP OF DATA ***
TEST2
TEST2
TEST2
TEST2
TEST2
******************************** BOTTOM OF DATA *

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

State the various causes of s0c1, s0c5 and s0c7.

1086


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2435


Difference between cobol and cobol-ii?

1280


what are decleratives in cobol?

2264


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1126


What is inspect in cobol ?

1303


What are 77 levels used for?

1108


) How do u handle errors in BMS macro?

1972


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

1351


Write a program that uses move corresponding.

1149


Which Search verb is equivalent to PERFORM…VARYING?

1043


What is difference between static and dynamic call in cobol?

1391


What is the compute verb? How is it used?

1149


How arrays can be defined in COBOL?

1223


What is the default value(s) for an initialize and what keyword allows for an override of the default?

1213