IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Statement in occur clause to retrive record for 25 times


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
tomrsan

New User


Joined: 15 Oct 2005
Posts: 13
Location: chennai

PostPosted: Tue Dec 06, 2005 7:25 pm
Reply with quote

hi

if we code a statement in occur clause to retrive record for 25 times but it occur 26,27 also means what happened, is it show any error? why it happened?

urs
san
Back to top
View user's profile Send private message
iknow

Active User


Joined: 22 Aug 2005
Posts: 411
Location: Colarado, US

PostPosted: Tue Dec 06, 2005 7:35 pm
Reply with quote

Hi tomsran,

Please give some more explanation on your query. I got confused with your query.
Back to top
View user's profile Send private message
tomrsan

New User


Joined: 15 Oct 2005
Posts: 13
Location: chennai

PostPosted: Tue Dec 06, 2005 7:40 pm
Reply with quote

hi
if a file contain 28 records, if we write the occur clause for 25 times, but it ocuurs 26,27,28 time also means, y it happened?
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Tue Dec 06, 2005 8:11 pm
Reply with quote

It'll show an error... If SSRANGE is on...

in case of NOSSRANGE (by default) ..there is a possibility you may never come to know about bad data or you may get an subscripting error or other.

Regards,

Priyesh.
Back to top
View user's profile Send private message
iknow

Active User


Joined: 22 Aug 2005
Posts: 411
Location: Colarado, US

PostPosted: Tue Dec 06, 2005 8:21 pm
Reply with quote

Hi Priyesh,

Thanks for your information. Let me also check with SSRANGE because I haven't come across this situation.

Hope tomsran got the answer.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts To find whether record count are true... DFSORT/ICETOOL 6
Search our Forums:

Back to Top