2 ms·
COBOL programs reside on mainframe computers, an environment that's entirely alien to someone who's used to UNIX-like environments where you have something like
by BjoernKW 7y ago
COBOL programs reside on mainframe computers, an environment that's entirely alien to someone who's used to UNIX-like environments where you have something like a pipe.
I'm not sure how and on which machines COBOL code is written and compiled these days but I reckon that piping it to grep, or similar tools, might simply not be an option on those machines.
- lboc 7y agoFYI on IBM mainframes, MVS has included an integrated Unix environment since 1993 [0]. This continues to be developed and supplied with the latest versions of z/OS :) Here's someone asking about doing just that: https://serverfault.com/questions/356574/can-i-run-grep-against-a-zos-dataset-via-unix-system-services https://serverfault.com/questions/356574/can-i-run-grep-agai... [0] https://en.wikipedia.org/wiki/MVS#MVS/XA https://en.wikipedia.org/wiki/MVS#MVS/XA (Edited to go back even further than OS/390)
- pulse7 7y agoToday they write/edit COBOL programs in IBM WebSphere Studio Application Developer (today named IBM Rational Application Developer for WebSphere Software) which is a commercial version of Eclipse with several mainframe related plugins. So they use usual Eclipse editors with remotely located files and they can find these periods without grep - just with CTRL+F...
- drabiega 7y agoMy experience was that while the IDE was available and picked up by newer developers, the majority of developers at the mainframe shop where I worked avoided it as much as possible for pretty much the same reasons seasoned UNIX devs prefer working via command line and text editor.
- tyingq 7y agoA pretty good account of a "new to mainframes" person figuring out how to make their first Cobol program on z/OS: https://medium.com/@bellmar/hello-world-on-z-os-a0ef31c1e87f https://medium.com/@bellmar/hello-world-on-z-os-a0ef31c1e87f