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: 252
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm

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