BAT has IF (and other features) now. I did say "the old" DOS. --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313
/* A man is never so proud as when striking an attitude of humility. -from "Christianity and Culture" by C S Lewis */ -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Seymour J Metz Sent: Wednesday, June 8, 2022 11:50 Even BAT supports conditional logic and looping.I've seen very little code, whether in CLIST, REXX or a *ix shell, that was just a linear list of commands. I've seen lots of code called scripts with conditional and looping constructs, many thousands of lines long. I believe that the term script is more common in the BSD/Linux/Unix world. ________________________________________ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Bob Bridges [robhbrid...@gmail.com] Sent: Wednesday, June 8, 2022 10:33 AM Dunno whether I'm right, but I associate "script" with "macro", both of which (still in my own head) I think of as a list of commands without logic branches. Like the old PC DOS batch files: Do this, then do this, then do this... Or QMF (unless QMF has added IF statements since I last used it). Or basic JCL (first this step, then this, then this...). Once you've added branching and other such complexities to a language, the result is no longer a "macro" but a program. So when I write something for Excel or Outlook, it's not a VBA macro, it's a VBA program. I see I got sucked into one of my standard rants. Anyway, I tend to think of a script as more like a macro in that sense. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN