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
 
Pointer and var-len String?

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

New User


Joined: 16 Jun 2005
Posts: 4

PostPosted: Thu Jun 23, 2005 7:31 am    Post subject: Pointer and var-len String?
Reply with quote

How can I access to a string which is pointed by a pointer.

I have a pointer
05 SPointer POINTER.
which it points to a variable length string.

How can I declare a variable like MESSAGE-TEXT and move the data to it.

MOVE SPointer(5:10) to MESSAGE-TEXT.

Thanks is advance

icon_question.gif
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


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

PostPosted: Thu Jun 23, 2005 5:07 pm    Post subject: Re: Pointer and var-len String?
Reply with quote

Does it help you ?

http://home.swbell.net/mck9/cobol/tech/cobolptr.html

Regards,

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

New User


Joined: 23 May 2005
Posts: 97
Location: Chennai

PostPosted: Thu Jun 23, 2005 5:36 pm    Post subject: Re: Pointer and var-len String?
Reply with quote

good priyesh.
Back to top
View user's profile Send private message
alireza_big

New User


Joined: 16 Jun 2005
Posts: 4

PostPosted: Sat Jun 25, 2005 12:00 pm    Post subject: Re: Pointer and var-len String?
Reply with quote

Thanks so much
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 line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts Search for a string in many PDS KARTHIGADEVI CLIST & REXX 5 Fri Sep 08, 2017 2:32 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts String after '.' (period) is not copy... balaji81_k SYNCSORT 6 Wed Aug 23, 2017 9:35 pm
No new posts change string before sertan string anatol DFSORT/ICETOOL 8 Tue Aug 15, 2017 5:43 pm

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