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
 

 

Initializing the pointer variables

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
nutakkimurali

New User


Joined: 15 Nov 2005
Posts: 22

PostPosted: Tue Nov 15, 2005 7:30 pm    Post subject: Initializing the pointer variables
Reply with quote

Hi All,

I appriciate if any one answer my question.

Is it possible to Initialize the Pointer Variable to Blanks? If not please provide some sample code to how to achive this.

Regards,
Muralee
Back to top
View user's profile Send private message

hsourabh

New User


Joined: 24 May 2005
Posts: 12
Location: Z?rich

PostPosted: Thu Nov 17, 2005 9:34 pm    Post subject: Re: Initializing the pointer variables
Reply with quote

Hi Murali,

U can initialize a pointer variable as :

dcl ptr1 ptr init(sysnull());

This is equivalent to initializing a char string with blanks.

Regards,
Sourabh
Back to top
View user's profile Send private message
nutakkimurali

New User


Joined: 15 Nov 2005
Posts: 22

PostPosted: Fri Nov 18, 2005 12:21 pm    Post subject: Re: Initializing the pointer variables
Reply with quote

Thank you Sourabh
Back to top
View user's profile Send private message
nutakkimurali

New User


Joined: 15 Nov 2005
Posts: 22

PostPosted: Tue Nov 22, 2005 8:28 pm    Post subject: Re: Initializing the pointer variables
Reply with quote

Sourbh,

Still i feel that we can't initialize the pointer to blanks.my concern is always pointer represents some address in the memory and we can't blankout the memory.Plz correct me if i'm thinking in wrong way.
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 -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm
No new posts Is it possible to pass variables of s... Csongor CLIST & REXX 2 Fri Jun 10, 2016 7:33 pm
No new posts READQ TS returning inconsistent addre... moezbud CICS 14 Wed May 04, 2016 1:09 am
No new posts TWS 'global' or 'local' variables Steve Coalbran IBM Tools 2 Thu Mar 17, 2016 7:40 pm
No new posts Using different values for Skeleton d... venksiv CLIST & REXX 8 Thu Sep 03, 2015 5:28 pm


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