Carriage Return

Stewart, Mark MStewart@VICTORIA.COM
Tue, 5 May 1998 13:08:43 -0400


I coded the following:

SUBFILE HEADER PORTABLE KEEP NODICTIONARY AT T_ADD_ONCE                 & 
   ALIAS TEST                                                           &
   INCLUDE                                                              &
   T_HDR_REC_001

SUBFILE HEADER PORTABLE      NODICTIONARY AT T_ADD_ONCE                 &
   APPEND ALIAS TEST2                                                   &
   INCLUDE                                                              &
   T_HDR_REC_002

T_HDR_REC_002 IS CHAR*16

I get the following in the data file. 

0001            0002 

I thought using the append would stick on another record but it actually
appended to the existing record.

I need the following in the data file:

0001
0002

I don't like to use escape sequence unless it's needed.  In this example
PowerHouse is not doing what I expected it to do.  I'm using the EVE editor
on the VAX.  I was thinking about using CNTRL/V and hitting enter which
gives you a tiny CR.  Define D_CARRIAGE_RET to "CR" and using the vms SET
FILE command to somewhere remove the carriage returns at that point.  The
entire file needs a stagnate header, repeating detail, and a stagnate
trailer.  The file must be converted to EBCIDIC later on but that's another
story.

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.