Subject: | |
From: | |
Reply To: | |
Date: | Tue, 22 Feb 2000 09:23:13 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Here is a command file I created for SDTODIF.
Note the notes for JCW values.
PARM SDFILE, DIFFILE, DOMAIN=1
#domain: 1=perm 2=temp
comment Uses msg file CSDTODIF.PUB.SYS
RUN SDTODIF.PUB.SYS;INFO="!SDFILE, !DIFFILE, !DOMAIN"
IF DIFERROR <> 0 OR DIFWARN <> 0 THEN
ECHO Error !DIFERROR Warn !DIFWARN
ENDIF
#
#JCW DIFERROR
# 1 can't open CSDTODIF.PUB.SYS
# 2 CSDTODIF.PUB.SYS Genmessage file system error
# 3 Missing message or set in CSDTODIF
# 4 Illegal default language
# 5 Unsupported DIF file language
# 6 Unsupported SD file language
# 7 No columns to output from SD file
# 8 Input file is not an SD file
# 9 SD file is empty
# 10 SD file record size is greater than input buffer (4096 bytes)
# 11 SD file has more thatn 255 fields
# 12 FREAD error on reading SD file
# 13 Could not open DIF file
# 14 Error writing to DIF file
# 15 Out of file space writing to DIF file
# 16 Duplicate file name for DIF file
# 17 Could not close DIF file
# 18 an SD intrinsic call failed
# 19 FGETINFO failed on SD file
# 100 no info string to SDTODIF
# 101 A required parameter is missing from info string
# 102 Invalid save status on DIF file
# 103 Failed open of SD file
#
#JCW DIFWARN
# 1 SD file saved as temp file
# 2 one or more fields in SD file had one of these problems
# field type 10 compound data item -- ignored
# field type 1 ascii > 255 -- truncated to 255 chars
# field len not compatible with type -- ignored
# invalid field type (valid:1,2,3,4,5,6,7,8,10) -- ignored
#
#RUN SDTODIF.PUB.SYS;INFO="SDfile,DIFfile,Savestats 1=perm,2=temp"
#
+=====================================
Keven Miller KC7LYD
[log in to unmask] (Salt Lake City, Utah, USA)
+=====================================
|
|
|