Re: Reading directory lists from GNU Cobol programmes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dave and welcome to GnuCOBOL.

As Brian already pointed out there is the plan to add this feature (will
be supported with the "old" x'91', too).

See https://sourceforge.net/p/open-cobol/feature-requests/105/

You're invited to do the necessary changes (or let someone do this for
you, either a friend, in-house, or paid) - I'm always willing to help
anyone that wants to provide patches. Just leave a note in the FR
mentioned above.

In the meanwhile you can only do a
	CALL "SYSTEM" USING "cd <dir> && ls <searchlist> > dirfile"
or
	CALL "SYSTEM" USING "cd <dir> && dir <searchlist> > dirfile"
depending on the system used (or both, doing the second only if the
return-code is not zero)

Simon

> Date: Wed, 10 Feb 2016 10:11:16 -0000 (GMT)
> From: "Dave Stratford" <dave.stratford@xxxxxxxxxxxxxxxxxxxxx>
> Subject:  Reading directory lists from GNU Cobol
> 	programmes
> To: open-cobol-list@xxxxxxxxxxxxxxxxxxxxx
> Message-ID:
> 	<55077.62.253.78.101.1455099076.squirrel@xxxxxxxxxxxxxxxxxxxxxx>
> Content-Type: text/plain;charset=utf-8
> 
> Hi folks,
> 
> MF cobol offers the facility to read directory entries by use of the
> CALL x"91" using ... facility.
> 
> This seems to only work on windows (though I may have misunderstood what I
> was told), however GNU Cobol doesn't support it at all. Does anyone know a
> GNU Cobol, windows or linux, method of doing this?
> 
> Many thanks,
> 
> Dave
> 

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
open-cobol-list mailing list
open-cobol-list@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/open-cobol-list



[Index of Archives]     [Gcc Help]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Info]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux