| IBM MAINFRAME HELP & SUPPORT FORUMS Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
|
| View previous topic :: View next topic |
| Author |
Message |
nutakkimurali
Joined: 15 Nov 2005
Posts: 22
|
| Posted: Tue Nov 15, 2005 7:30 pm Post subject: Initializing the pointer variables |
|
|
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 |
|
hsourabh
Joined: 24 May 2005
Posts: 12
Location: Z?rich
|
| Posted: Thu Nov 17, 2005 9:34 pm Post subject: Re: Initializing the pointer variables |
|
|
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 |
|
nutakkimurali
Joined: 15 Nov 2005
Posts: 22
|
| Posted: Fri Nov 18, 2005 12:21 pm Post subject: Re: Initializing the pointer variables |
|
|
| Thank you Sourabh |
|
| Back to top |
|
nutakkimurali
Joined: 15 Nov 2005
Posts: 22
|
| Posted: Tue Nov 22, 2005 8:28 pm Post subject: Re: Initializing the pointer variables |
|
|
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 |
|
| |
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
|