[Info-vax] VMS process communication

Stephen Hoffman seaohveh at hoffmanlabs.invalid
Fri Sep 16 17:07:27 EDT 2022


On 2022-09-16 02:29:28 +0000, Richard Maher said:

> On 16/09/2022 4:35 am, Stephen Hoffman wrote:
>> On 2022-09-15 06:58:17 +0000, Richard Maher said:
>> 
>>> If someone can show me an easy way of getting ASCII fils CR/LF into a 
>>> GitHub repository I am happy to do it
>> 
>> I prefer to convert source files and text files to Stream LF files as 
>> part of kitting a release, and that particular issue goes alway.
>> 
>> Mostly.
>> 
>> Most OpenVMS apps will read Stream LF, but some apps do prefer not to 
>> create that file format by default.
>> 
>> Which means reworking the OpenVMS environment to work around that.
>> 
>> With some of the available source code control tools, it's possible to 
>> convert the sequential file format during check-in, as well as running 
>> a pretty-printer on source files.
>> 
>> It'd be nice if the OpenVMS vGit git client flagged VFC and other 
>> ~incompatible file formats or reported and converted those files before 
>> upload, but—not having verified this—I'd tend to assume it does not.
>> 
>> 
> 
> Ok. But what tool (that comes standard on the VMS side) do you use?

To convert a VFC or other RMS sequential format into RMS sequential 
format Stream LF:

$ CONVERT /FDL="RECORD; FORMAT STREAM_LF" from.txt to.txt

I've used a DCL loop with an f$file to detect and convert sequential 
files not Stream LF, or similar code in the build or release or kitting 
or check-in procedures to convert the file format.

Once converted, most OpenVMS tools will continue to work with the 
converted file, and will preserve the Stream LF.

There's also ANALYZE /FDL and CREATE /FDL, depending on local 
requirements, and fdl$create() for creating files in OpenVMS apps and 
languages that don't do Stream LF well, or the FAB/RAB/XAB slog.

I haven't looked at whether any check-in hooks or format-detection 
features are available in vGit, as mentioned earlier.

> FTP?

FTP? FTP gets used grudgingly around here. And is not a tool I'd choose 
to use for RMS file format conversions.

> And on the Windows client? Filezilla?

Windows? Best ask somebody else about that.




-- 
Pure Personal Opinion | HoffmanLabs LLC 




More information about the Info-vax mailing list