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
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
No new posts How to insert a lengthy string havin... vidyaa DB2 7 Thu Aug 25, 2016 5:20 pm
No new posts Which function does the Ampersand (&a... Andi1982 PL/I & Assembler 3 Wed Aug 24, 2016 2:05 pm
No new posts Need a help how to replace a string i... gurunath82 CLIST & REXX 12 Tue Jul 26, 2016 11:43 pm


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