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

How to initialize address location in cobol


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Pavankumar.m
Warnings : 1

New User


Joined: 28 Nov 2010
Posts: 53
Location: Mumbai

PostPosted: Thu Sep 05, 2013 12:58 pm
Reply with quote

Hi ,

I have below field which is a pointer field and conatains adress location, can you please suggest me how to initialze below variable

05 ABC-POINTER POINTER.

Thanks and regards,
Pavan.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Sep 05, 2013 3:16 pm
Reply with quote

Why do you want to initialize it? What do you want to initialize it to? Why not just set it and use it? Have you researched NULL in the COBOL Language Reference manual?
Back to top
View user's profile Send private message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 202
Location: Toronto, ON, Canada

PostPosted: Fri Oct 11, 2013 11:11 pm
Reply with quote

Pavankumar.m wrote:
I have below field which is a pointer field and conatains adress location, can you please suggest me how to initialze below variable

05 ABC-POINTER POINTER.


Code:
SET ABC-POINTER TO NULL
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 2
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Routing command Address SDSF to other... TSO/ISPF 2
Search our Forums:

Back to Top