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
 

 

How many tims does para A will be performed

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

New User


Joined: 06 Apr 2005
Posts: 31
Location: visakhapatnam

PostPosted: Mon Jan 22, 2007 1:37 pm    Post subject: How many tims does para A will be performed
Reply with quote

Hi All,

can I know How many tims does para A will be performed ?

05 ws-a pic 9(3) value 100.
.................

PD.

............................
Perform A ws-a times.

A.

............
............
Move 200 to ws-a.
............

End-A.
Back to top
View user's profile Send private message

prav_06
Warnings : 1

Active User


Joined: 13 Dec 2005
Posts: 154
Location: The Netherlands

PostPosted: Mon Jan 22, 2007 1:59 pm    Post subject:
Reply with quote

Rsm_deepak,

I think this would be an interview question a very basic one c u r initianizing the value of a variable as 100 and performing a para
Perform A ws-a times.
this statement will make para a to perform 100 times only , this is because u r re-initializing the variable only inside the para which would not make an impact on performing the para.

Cheer's.
Thamilzan.
Back to top
View user's profile Send private message
sachin_star3
Warnings : 1

New User


Joined: 30 Sep 2006
Posts: 78
Location: pune

PostPosted: Mon Jan 22, 2007 4:21 pm    Post subject:
Reply with quote

yes your correct
this para execute only 100time
remember some point always when you solving this type of question
that 1) perform n times: then it peforms n times,its value cant change
2) perform vaying i from 1 by 1:this time the value can be chenge the loop dependent on inner value defined in paragraph.
correct me if wronge
-sachin borase
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 Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am
No new posts Getting the PARA name using rexx vidyaa CLIST & REXX 8 Tue Aug 12, 2014 2:24 pm
No new posts Change in values while passing values... Phrzby Phil PL/I & Assembler 13 Mon Jul 16, 2012 1:32 pm
No new posts How can I know the calling tims of on... CyberKing IMS DB/DC 3 Thu Apr 05, 2012 12:31 am
No new posts To keep record of delete performed by... rahul.arora DB2 10 Mon Nov 14, 2011 8:29 pm


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