Show quoted text 10 lines
Same here, but things got better. But to some extent, that's looking back through rose-tinted spectacles. We managed with the resources we had at the time. However, I am not suggesting we go back to overnight compilations on punched card.
Show quoted text 6 lines
"Write once, compile anywhere" isn't that the motto? I'm not trying to suggest anything to break this model, but when I compile my code on the mainframe, I would expect stuff like if ch in['A'..'Z'] to be EBCDIC based.
Show quoted text 6 lines
I wasn't really talking about source files. I was talking about I/O in general. Translating a text file on the fly is possible, assuming you can identify it as such. But what about a structured file that contains mixed binary and string info. Integers need to converted from little to big endian, strings from ASCII to EBCDIC, floating point from PC to mainframe formats, files may contain internal pointers to other info, again it needs to be converted. Doing all this automagically in the RTL isn't an exercise in coding it's clairvoyance. And yes, MVS supports mixed binary and string data in a file, doesn't every operating system? A file is just data, stuff, the operating system has no business telling me what I can put in my files!
Just trust me then. PC doctrine has it that anybody can write a compiler, but we're aware of the fact that other architectures might do things differently.
Anyone can write whatever they want on the mainframe too. All the tools required are provided. What you do with it has nothing to do with architecture, it's to do with security. If you were a user on a Linux system, one amongst 50 others, one without root access, you would find yourself constrained about what you and your compiler could do. At least I hope you would. It's the same on OS. If you are running hercules and MVS, just for yourself on your desktop, you can do what you want. If you work for NatWest, you would find you wouldn't have the same freedoms.
Show quoted text 6 lines
Hercules provides terminal access to a TCP/IP client, both in 3270 terminal mode and for file transfer. As far as I know Kermit is not available
