IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Pointer and var-len String?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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: 1448
Location: Chicago, IL

PostPosted: Thu Jun 23, 2005 5:07 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts file manager is doing string conversion IBM Tools 3
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
Search our Forums:

Back to Top