On Thu, 15 Sep 2011 16:13:54 -0400 Scott Bennett <[email protected]>
wrote:

:>Is there a way to know if a dataset contains line numbers?
:>
:>For example when I PROF a file in ISPF I can see that a dataset has "NUMBER
:>OFF" or "NUMBER ON STD".   I need a way, from within assembler ZOS data
:>areas, to know if a dataset has line numbers so I can handle line numbers
:>in a remote system correctly.

Do what ISPF does, read the entire file and check whether each line has digits
in the specific columns and that the value ascends.

--
Binyamin Dissen <[email protected]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

Reply via email to