Problems with carriage return on VMS

Kelly Oliveira kellyo at dtslatin.com
Thu Nov 8 14:20:17 GMT 2001


John,

First, I´m using OpenVMS Alpha 7.1.2 ECO 4 and Samba 2.0.6.

I´ve done the template suggested for SCB extension and it doesn´t work fine.
Even the template configured to Stream-CR the SCB files than I write on VMS
have the Stream-LF format.

I`ve deleted the template and done the command line SET FILE/attr=(rfm:stmcr)
and the SCB file accepted the format STMCR, but it was impossible to edit, lines
and commands are missing from the original. Seems the file is corrupted.

It is a example the file in the STMCR format, the letter "e" represents the
linefeed. Pay attention in the sections Environment Division, the command CONNECT...


Thanks for help.
****                                                                *  *   
   `
e************************************************************
e************************
e4VLR-TOT(5) + W00-11VLR-TOT(1) +
eIDENTIFICATION DIVISION.
e W00-11VLR-TOT(2) + W00-11VLR-TOT(3) +
e************************
e W00-11VLR-TOT(4) + W00-11VLR-TOT(5) +
e*
e                   W00-20VLR-TOT(1) + W00-20VLR-TOT(2) +
ePROGRAM-ID.   BLOQUEIO_NOVO.
e00-20VLR-TOT(4) +
eINSTALLATION. SMC.
eW00-20VLR-TOT(5).
eDA*
eWRITTEN. MARCO/96.
e*******ENVIRONMENT DIVIS**************
e*****
e*-------------CONFIGURAT*--------------------*
e
e*------------SPE*-------------      DECIMAL-POINT IS COMMA.
e*
e
e*------------------INPU*------------------*
ee*------------
eNNECT
eFILE-CONTROL.
ee*-     SELECT B*
eUE             ASSIGN TO "PRD$DAT:BLOQUEADOS.DAT".
e                ORGANIZATION IS INDEXED
e"PRD$DAT:CRTBLOQM.DAT"
e                      RECORD KEY   I            FILE

Kelly Oliveira
Product Specialist
DTS Filial Sul
kellyo at dtslatin.com
(51)3342-1588






More information about the samba-vms mailing list