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
 

 

locator qualifier(->) use in PL1

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

New User


Joined: 29 Sep 2013
Posts: 1
Location: INDIA

PostPosted: Sun Sep 29, 2013 1:11 am    Post subject: locator qualifier(->) use in PL1
Reply with quote

Hello,

Could you please explain me the usage of Locator Qualifier ("->") in PL1 and How it is getting used with Based variables.

I have used BASED variables and Pointers, so aware of it. However I am not able to understand the same in relation to locator qualifier (->).

Many Thanks in advance !!
Back to top
View user's profile Send private message

Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Sun Sep 29, 2013 7:05 am    Post subject: Reply to: locator qualifier(->) use in PL1
Reply with quote

In PL/I, this is known as Linked-List processing. You should Google this or consult the appropriate PL/I manual for further explanation and/or example(s)....
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1002
Location: Oostende, Belgium

PostPosted: Sun Sep 29, 2013 12:46 pm    Post subject: Re: Reply to: locator qualifier(->) use in PL1
Reply with quote

Bill O'Boyle wrote:
In PL/I, this is known as Linked-List processing.

It might, but there are many, many more uses for it, like the code below, lifted from a pre-processor procedure, that did what PLIMOVE does nowadays

Code:
begin;
  dcl $ char   (32767) based;
  dcl # fixed bin (31);

  # = min(stg(to), stg(from));
  substr(addr(to) -> $, 1, #) = substr(addr(from) -> $, 1, #);
end;
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 Using EZACFSM1 prog with instream dat... rabiswas JCL & VSAM 7 Sun Jun 08, 2014 5:12 pm
No new posts How DB2 find the qualifier of the tab... Harsha1525 DB2 6 Tue Feb 05, 2013 10:08 am
No new posts Can we use SYMBOLIC parameter as last... Adhiraj_Singh JCL & VSAM 9 Mon Sep 17, 2012 4:25 pm
No new posts Rename a set of PS using its high qua... Michael Jakob TSO/ISPF 6 Mon Jan 09, 2012 7:16 pm
No new posts Files additonal qualifier som_infotech CLIST & REXX 2 Wed Jul 20, 2011 8:34 am


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