Carriage Return

georgia miller georgia_miller@gfps.k12.mt.us
5 May 1998 13:48:50 -0700


Mark, 
This is how I hard code a carriage return into a file. We use it to create 
files for the Macintosh with Tabs after each field and a carriage return at 
the end.  We usually use Quiz for this.  I am on an HP3000 with MPEix  
PH7.29.C3

ACCESS filex
SET REP DEV DISC NAME TABFILE SPACING 0 LIMIT 5000
SET NOHEAD NOFORMFEED NOBLANKS
SET PAGE LENGTH 0 WIDTH 264

;D-CR = carriage return  D-TAB = Tab
DEFINE DECIMAL13 INT = 13
DEFINE D-CR      CHA = CHA(DECIMAL13)[2:1]
DEFINE DECIMAL09 INT = 09
DEFINE D-TAB     CHA = CHA(DECIMAL09)[2:1]

REPORT FIELD1 D-TAB FIELD2 D-TAB D-CR
______________________________________________________________________________
_
To: 'Powerh-l'
From: Stewart, Mark on Tue, May 5, 1998 10:30 AM
Subject: Carriage Return



>I'm working on a VAX platform using 7.10.F4.  I need to hard code an
>carriage return into a PORTABLE subfile.  I plan on doing this in QTP in an
>experiment to break records into smaller records.  I have seen hard coded
>carriage returns in the past but I can't really remember how it was done.
>Does anyone know the syntax to hard code a carriage return into a DEFINE or
>TEMP?  


>Example 
>DEFINE D_ESC_INT		        INT*02 = 6912
>DEFINE D_ESC			  CHAR*01 = CHARACTERS(ESC_INT)
>DEFINE D_CARRIAGE_RET CHAR*05 = ESC + ?????

>I think something like this will work.  I do not know what the value for an
>carriage return is.  Does anyone have this information?

>Mark Stewart
>Computer Task Group
>Client (Victoria Secret Stores)
>VAX/VMS/RDB V6.0-05/PH 7.10.F4
>Hoping to have 7.10.G soon.



= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.