* creating simple text files from MMS
@ 1995-03-29 5:00 Wayne Scott
0 siblings, 0 replies; only message in thread
From: Wayne Scott @ 1995-03-29 5:00 UTC (permalink / raw)
Hi Folks:
I'm trying to create a simple, one-line text file from an MMS (make)
file target, so I can append something else to it. Trouble is, the format
is really weird and I get an error from the append. The write to the file
doesn't give what I expect - it seems to add a strange character and doesn't
break to a new line. Here are the details:
[ FYI-> VR2VRX is a 3rd-party tool that creates a text file from a binary.]
[ That's NOT the source of my problem.]
UNIT = scsc_menu_disp
VR = $(UNIT).vr
VRX = $(UNIT).vrx
TMP_VRX = $(VRX)_tmp
..
vrx :
@ $write sys$output "Building VRX $(VRX) from VR $(VR)..."
@ $open/write outfile $(TMP_VRX)
@ $write outfile " @(#) FILENAME gen=GEN date=DATE"
@ $write outfile ""
@ $close outfile
@ $write sys$output "Put WHAT STRING in $(TMP_VRX)..."
@ $vr2vrx $(VR)
@ $write sys$output "Ran vr2vrx...appending $(VRX) to $(TMP_VRX)"
@ $append $(VRX) $(TMP_VRX)
The error I get is:
CP0204: build vrx
Building VRX scsc_menu_disp.vrx from VR scsc_menu_disp.vr...
Put WHAT STRING in scsc_menu_disp.vrx_tmp...
Ran vr2vrx...appending scsc_menu_disp.vrx to scsc_menu_disp.vrx_tmp
%APPEND-W-INCOMPAT,
DISK$SCPDISK34:[WWS.7-1.SCSC_MENU_DISP]SCSC_MENU_DISP.VRX;2 (input) and
DISK$SCPDISK34:[WWS.7-1.SCSC_MENU_DISP]SCSC_MENU_DISP.VRX_TMP;1 (output)
have incompatible attributes
%MMS-F-ABORT, For target VRX, CLI returned abort status: %X107111E0.
CP0204:
analy/rms_file/fdl shows the following:
scsc_menu_disp.vrx_tmp:
RECORD
BLOCK_SPAN yes
CARRIAGE_CONTROL print
CONTROL_FIELD_SIZE 2
FORMAT vfc
SIZE 0
CP0204:
scsc_menu_disp.vrx:
RECORD
BLOCK_SPAN yes
CARRIAGE_CONTROL carriage_return
FORMAT stream_lf
SIZE 0
CP0204:
The append works anyway, but the lines wrap around instead of
breaking where they do in the 2nd file. When I try to make the attributes
identical, a '%' is added before the text in the first file:
@ $set file/attribute=(RAT:CR,RFM:STMLF) $(TMP_VRX)
@ $set file/protection=(SYSTEM:RWD,OWNER:RWD,GROUP:R,W:R) $(TMP_VRX)
CP0204: type SCSC_MENU_DISP.VRX_TMP;2
% @(#) FILENAME gen=GEN date=DATE
CP0204:
This is really getting me P*, P*, Perturbed! I expected it to be a
simple, 30-minute job, but it's chewing up hours. I have no idea where to
start investigating the root cause and the solution. I've looked at another
COM tool we have that creates text files similarly with no problems.
All helpful hints would be appreciated.
Thanks,
Wayne
--
----------------------------------------------
wws@cc.bellcore.com
I'm just a soul whose intentions are good,
Oh Lord, please don't let me be misunderstood.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-03-29 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-03-29 5:00 creating simple text files from MMS Wayne Scott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox