Re: gcc fopen question
What do you mean by "CMS does not support r/w files"? Where did you get that information? I wrote code circa 1981 that allowed for safely updating a large file on a CMS minidisk that could be shared
By
Mark Waterbury
·
#2587
·
|
Re: gcc fopen question
Hi Tom The version of GCCLIB on Six Pack 6 Beta 3 does not support read/right files because CMS does not support r/w files. The updated version of GCCLIB has re-implemented the IO functions (done by
By
adriansutherland67
·
#2586
·
|
gcc fopen question
I am trying to open a file using fopen: fopen("tmp.dat","r+") I need to open it for read & write.? However the compiler complains with an error stating invalid option? "r+". Can you on vm370 gcc
By
Tom Chandler
·
#2585
·
|
Re: gcc vm370 lseek
The updated version of GCCLIB implements IO differently. For fixed record length files it supports random access (but only using C90 functions, not POSIX).
By
adriansutherland67
·
#2584
·
|
Re: gcc vm370 lseek
I do a lot of embedded work and *not* having/needing a full C runtime allows for writing the applications/OS/RTOS in an efficient manner. In many cases I compile my C code with --no-stdlib and the
By
@shiresoft
·
#2583
·
|
Re: gcc vm370 lseek
That's why I like PL/I , the language includes I/O. C, sometimes can be very limitative, since lot of functions are not implemented the same way, And you have to write your own implementation. for
By
carlos feldman
·
#2582
·
|
Re: gcc vm370 lseek
Folks, GCC only supports the "C90" standard library. lseek() is a UNIX specific interface and is not part of the "C90" standard. The C90 equivalent is fseek() but its very inefficient on CMS. The
By
Dave Wade
·
#2581
·
|
Re: gcc vm370 lseek
Just being a bit pedantic, but there is nothing in the C language that specifies any of the stdio functions (such as lseek and such). Those are part of the standard "C" libraries and those are
By
@shiresoft
·
#2580
·
|
gcc vm370 lseek
I am working on some "C" code, and it appears that the gcc compiler does not support the lseek function.? Did I misread it or is there another option. Any advice would be appreciated. Thank You Tom c
By
Tom Chandler
·
#2579
·
|
Re: Question about LOGOFF in an exec.
<ferland.rene@...> wrote: Thanks Ren¨¦, that was perfect. All the best. Roxo -- ---------------- Non luctari, ludare -------------------+ WYSIWYG Fernando M. Roxo da Motta <mvs@...> |
By
Fernando M. Roxo da Motta
·
#2578
·
|
Re: Question about LOGOFF in an exec.
Yes, but logoff is a CP command, so you need to type CP LOGOFF in your EXEC, not just LOGOFF Rene FERLAND, Montreal
By
Ren¨¦ Ferland
·
#2577
·
|
Question about LOGOFF in an exec.
Hi all, I am toying with execs in 6 Pack 1.3 and was testing to issue a LOGOFF in an exec. Like: EMIT ------------------------------------------------------------ EMIT LOGGING OFF NOW EMIT
By
Fernando M. Roxo da Motta
·
#2576
·
|
Re: VM/ESA woes (W state 9025)
It works because Hercules does/did not correctly emulate the default controller which I believe is a 3390. It is however possible to connect 3390 DASD to a 3380 controller which Hercules does emulate
By
Dave Wade
·
#2575
·
|
Re: What do we call it?
Works for me. I have no strong preference between the shortened versions. The first seems more in the tradition of IBM product naming conventions, but the second keeps the ¡°M0¡± part visible.
By
pjfarley3
·
#2574
·
|
Re: VM/ESA woes (W state 9025)
Errata: a friendly soul* Anyway, here goes the paste with the sensible corrections. https://pastebin.com/pLj1FagN
By
trp
·
#2573
·
|
Re: VM/ESA woes (W state 9025)
Well, it's now solved. A friendly sould gave me his copy of hercules.cnf for VM/ESA. Though his file worked, I wondered why mine didn't. So I found out why: # DASDs 0123 3390 $(DASD)/240RES.123
By
trp
·
#2572
·
|
Re: VMFPLC2 Bug
In the UK (and possibly other countries that had a ? currency, e.g. Malta) the ¡°Pound Sign¡± is the ? which is a stylized ¡°L¡± with bar through it, from the Latin ¡°Libra¡±. I think
By
Dave Wade
·
#2571
·
|
Re: VMFPLC2 Bug
It is unless you are in the UK (or use international char sets) as that is the pound symbol (will try and show it but =? ?) We refer it (#) as well as as the hash symbol but I go back a bit :)
By
Vince Coen
·
#2570
·
|
Re: VMFPLC2 Bug
Of course the DMS-10 is a Canadian switch, so they would probably use the Canadian term current at the time. But certainly Nortel borrowed that from 1960s AT&T usage. Are we off-topic yet? Tony H.
By
Tony Harminc
·
#2569
·
|
Re: VMFPLC2 Bug
I've always heard "#" referred to as the pound sign. Joe
By
Joe Monk
·
#2568
·
|