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
 

 

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 Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm
This topic is locked: you cannot edit posts or make replies. Checking wether a string starts from ... sundaram.naveen CLIST & REXX 9 Thu Oct 06, 2016 11:56 am
No new posts Random Password (in string format) ge... ezhavendhan COBOL Programming 10 Mon Aug 29, 2016 3:18 pm


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