Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How many register are there in cobol

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

New User


Joined: 22 Mar 2005
Posts: 51
Location: chennai

PostPosted: Mon Oct 03, 2005 8:20 pm    Post subject: How many register are there in cobol
Reply with quote

hi guys,

How many register r there in Cobol? what r there? Explain Each?



regards
naveen
Back to top
View user's profile Send private message

Sridevi_C

Active User


Joined: 22 Sep 2005
Posts: 104
Location: Concord, New Hampshire, USA.

PostPosted: Tue Oct 04, 2005 10:49 am    Post subject: Re: How many register are there in cobol
Reply with quote

Hi,
TALLY register is the one I know.
Example:
EXAMINE X TALLYING FOR ALL 'A'.
If X's value is "ABACUS",then TALLY register's value is 2,as there are two A's in ABACUS.
Regards,
Sridevi.
Back to top
View user's profile Send private message
nal_satish

New User


Joined: 20 Jun 2005
Posts: 26
Location: Hyderabad

PostPosted: Tue Oct 04, 2005 10:57 am    Post subject: Re: How many register are there in cobol
Reply with quote

Hi ,

As per My knowledge

There are Two registers i know
1) TALLY Register
2) INDEX Register


Thanks & Regards,
Satish.N
Back to top
View user's profile Send private message
Hames

New User


Joined: 03 Oct 2005
Posts: 49

PostPosted: Tue Oct 04, 2005 2:46 pm    Post subject:
Reply with quote

In COBOL, one more register is there. That is RETURN-CODE register.
Using this only We can pass the return code to the JCL.
Back to top
View user's profile Send private message
Sridevi_C

Active User


Joined: 22 Sep 2005
Posts: 104
Location: Concord, New Hampshire, USA.

PostPosted: Tue Oct 04, 2005 7:31 pm    Post subject:
Reply with quote

Please let me know the syntax/example for INDEX register.
Thanks in advance!
Sridevi.
Back to top
View user's profile Send private message
yogeswariumapathy

New User


Joined: 14 Sep 2005
Posts: 4

PostPosted: Fri Oct 07, 2005 7:19 pm    Post subject: Re: How many register are there in cobol
Reply with quote

i think v hav 4.

length
index
return-code
tally
Back to top
View user's profile Send private message
amolsun

New User


Joined: 06 Aug 2005
Posts: 4
Location: pune

PostPosted: Sun Oct 09, 2005 10:08 am    Post subject:
Reply with quote

hi
search is also one register,in string comnds replacing is also one register and
Back to top
View user's profile Send private message
Sridevi_C

Active User


Joined: 22 Sep 2005
Posts: 104
Location: Concord, New Hampshire, USA.

PostPosted: Sun Oct 09, 2005 11:38 am    Post subject:
Reply with quote

Hi,
I don't think,length,index,search and replacing are registers.
Tallying,return-code,when-compiled,time-of-day and current-date are registers. Do correct me on my mistake(s).
Sridevi.
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 268
Location: Cincinnati OH USA

PostPosted: Mon Oct 10, 2005 7:30 am    Post subject:
Reply with quote

special registers are listed here

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/igy3lr30/1.3.8?ACTION=MATCHES&REQUEST=register&TYPE=FUZZY&SHELF=&DT=20050714120224&CASE=&searchTopic=TOPIC&searchText=TEXT&searchIndex=INDEX&rank=RANK&ScrollTOP=FIRSTHIT#FIRSTHIT

Dave
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 How to display offset thru cobol prog... tvinodkumar7 CICS 0 Sun Apr 22, 2018 8:42 pm
No new posts Linkage editor is part of COBOL, z/OS... ankit.jain COBOL Programming 4 Fri Apr 20, 2018 4:17 pm
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts COBOL MVS options BiswajitDG COBOL Programming 8 Fri Apr 06, 2018 12:35 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us