Subject: | |
From: | |
Reply To: | |
Date: | Fri, 9 Jun 1995 12:08:41 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
In <[log in to unmask]> Bill Bennett CSY <[log in to unmask]> writes:
> : : LinkEd> listprog httpd.pub
> : : LIBRARY "HTTPD.PUB" FILE LIMIT MUST BE <= 4096000 (LINKERR 1163)
>
> : : LinkEd> altprog httpd.pub;cap=ia,ba,ph,pm
> : : OPERATION INCONSISTENT WITH ACCESS TYPE (FSERR 40)
> : : THE OUTPUT FILE IS FULL (LINKERR 1142)
>
> : The reason LINKEDIT is having a problem is that the program file is a
> : byte stream file. There appears to still be checks in LINKEDIT that
> : assumes the program file is 128W (256 byte) record file. So when it
> : calculates the limit using record length, it thinks its using 256 byte
> : records when in reality it is using 1 byte records.
>
> : There are different ways to get a program file that is byte stream
> : (for example using MF COBOL or copying using ftp and not restoring the
> : record structure). You can fix it back up by using FCOPY:
>
> : :FILE HTTPD2;REC=128,1,F,BINARY;DISC=1190;CODE=NMPRG
> : :FCOPY FROM=HTTPD;TO=*HTTPD2;NEW
>
> I made a mistake here. You need to use frombyte in the shell. FCOPY will
> do a record to record copy so each 256 record will have one byte in it.
> What you should do is first issue the FILE equation:
> :FILE HTTPD2;REC=128,1,F,FINARY;DISC=1190;CODE=NMPRG
> Then get in the shell and run frombyte:
> >frombyte HTTPD *HTTPD2
Still no go...
:FILE HTTPD2;REC=128,1,F,BINARY;DISC=10500;CODE=1030
:sh
########################################################################
MPE/iX Shell and Utilities (A.50.01)
COPYRIGHT (c) Hewlett-Packard Company 1992, All Rights Reserved.
########################################################################
shell/iX> pwd
/DEV3K/PUB
shell/iX> frombyte HTTPD *HTTPD2
shell/iX> exit
CWD is "/DEV3K/PUB".
:listf ht@,2
ACCOUNT= DEV3K GROUP= PUB
FILENAME CODE ------------LOGICAL RECORD----------- ----SPACE----
SIZE TYP EOF LIMIT R/B SECTORS #X MX
HTTPD NMPRG 1B BA 304640 2147483647 2 1200 1 *
HTTPD2 NMPRG 128W FB 4594 4594 1 4608 18 *
:reset httpd2
:run httpd2
FAILED TO LOAD PROGRAM HTTPD2.PUB.DEV3K. (LDRERR 469)
File is not a valid program file. (CIERR 630)
:
FWIW - I've gotten around my immediate problem (not sure how), so I'll
leave the rest as an excercise to readers. It does seem that there are
inconsistencies in the way the OS handles/expects NMPRG files though...
-Chris Bartram
______________________/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_
Chris Bartram Sales (US): 800 Net-Mail Fax:+1 916 622-0738
______ -or- +1 916 622-0630 E-Mail: [log in to unmask]
/__ | \__________ Sales (Europe):+44(0480)414131 Fax:+44(0480)414134
/ / | / ________ Sales (Pacific Rim):+61 3 489 8216 (same for fax)
| /_ |< ______ Tech Support:+1 703 569-9189 Fax:+1 703 451-3720
\ __)| \ ___ E-mail: [log in to unmask] Personal(me): [log in to unmask]
\______/ Associates 6901 Old Keene Mill Rd Suite 205 Springfield VA 22150
______________________/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_
Gopher: gopher.3k.com Anon-FTP: ftp.3k.com WWW: http://www.3k.com/
|
|
|