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
 

 

To Find Occurs from displacement

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
Harish Pisharody

New User


Joined: 24 Nov 2007
Posts: 5
Location: Bangalore, India

PostPosted: Wed Jul 14, 2010 11:20 am    Post subject: To Find Occurs from displacement
Reply with quote

Hi,

I was asked this question in an interview :

How to get the occurs of a particular element in an array if we have the displacement.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8118
Location: East Dubuque, Illinois, USA

PostPosted: Wed Jul 14, 2010 4:08 pm    Post subject:
Reply with quote

If all you have is the displacement, you cannot get the occurrence number. You must have at least the displacement and the length of an individual occurrence to compute the occurrence number.
Back to top
View user's profile Send private message
Harish Pisharody

New User


Joined: 24 Nov 2007
Posts: 5
Location: Bangalore, India

PostPosted: Fri Jul 16, 2010 3:27 pm    Post subject: Reply to: To Find Occurs from displacement
Reply with quote

Thanks Robert !!!
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm


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