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
 

 

Use of referenve modification

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

New User


Joined: 01 Jun 2005
Posts: 17
Location: bangalore

PostPosted: Tue Aug 30, 2005 12:44 pm    Post subject: Use of referenve modification
Reply with quote

WAt is the mainpurpose of reference modification and when we need it?


Thanks in advance.
shannu.
Back to top
View user's profile Send private message

mainframesguru

New User


Joined: 24 Jun 2005
Posts: 36
Location: Hyderabad

PostPosted: Tue Aug 30, 2005 2:27 pm    Post subject: Re: Use of referenve modification
Reply with quote

Hi

Main Purpose of Reference Modification is to get a Part of a String.

It can be used only with Display Usage Clause.
Ex:
01 Ws-variable Pic x(20) Value "IBM Mainframes".
01 Ws-variable2 Pic X(03).

To get only IBM out of the String, use it as

Move Ws-Variable(1: 3) To Ws-Variable2.

Thanks
Vamshi
ICC-ISH
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 CICS configuration and modification g... Saikat Sengupta CICS 3 Fri Jul 18, 2014 3:04 pm
No new posts Compiler error IGYPS2120-S Expected a... sasanka DB2 19 Fri Dec 27, 2013 6:57 pm
No new posts SQL - WHERE clause with reference mod... Mahendran3784 DB2 3 Tue Nov 09, 2010 6:12 am
No new posts COBOL: Reference Modification to hand... gsmohanty COBOL Programming 5 Tue Mar 23, 2010 5:23 pm
No new posts SEARCH ALL w/ Reference Modification Chris Chapel COBOL Programming 6 Fri Feb 12, 2010 10:38 pm


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