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...


consider the following progrm statements
MOVE 0 TO SW.NO.OF.REC
PERFORM PRI-OUT UNTIL SW=1
DISPALY NO.OF.REC
STOP RUN
PRE-OUT
READ IN-FILE AT END
MOVE 1 TO SW
WRITE OUO-REC FROM IN-REC
ADD 1 TO NO.OF REC
if the IN-FILE contains 1000 records what value will be
displayed after the
PERFORM is over? assume that N0.OF.REC has PIC 9(4)
a.1000
b.1001
c.1
d.none of the above



consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPAL..

Answer / dimpy19

d.none of the above
since there is a syntax error

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

Hi Guyz, My requirement is to empty out a PS file but not to delete. How would I do that. Is there any Utility. If any other way, plz answer. Thanks.

9 Answers   iGate, Lehman Brothers,


What are isolation levels? Where do we need to specify them in compiling JCL?

3 Answers  


how to run JCL thru COBOL.

1 Answers   Patni,


Why 16 is used in calculating the DPRTY ? as, DPRTY = (num1, num2), THEN, DPRTY = 16* num1 + num2

4 Answers   IBM,


What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Procs ?

9 Answers   Xansa,


Can we change a FB file to VB file in JCL? Please help

1 Answers  


What is maximum length of block size?

5 Answers   Cap Gemini, Kanbay, TCS,


Explain dd statement in jcl?

0 Answers  


What is the meaning of keyword in JCL? What is its opposite?

1 Answers  


What is Automatic Restart ? EXEC PGM = PROG1, RD = R (Is it the Restart of a JOBSTEP or Restarting the execution of the program?) Do we Restart it or it automatically Restarts executing again and again ? Then when it will finish executing ? or After Abending, when we submit it again, then it is Restarted from the Last successful Checkpoint ? If some JOBSTEP is abending, what is the benifit to Restart it, WILL IT NOT ABEND AGAIN if you don't change the LOGIC ?

1 Answers   IBM,


Is it possible to code instream data in a PROC?

0 Answers  


what is the use of JCL?

0 Answers  


Categories