> -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] > On Behalf Of John McKown > Sent: Wednesday, July 05, 2017 12:48 PM > To: [email protected] > Subject: Re: Formatting a ZFS > > On Wed, Jul 5, 2017 at 2:33 PM, Gibney, Dave <[email protected]> wrote: > > > A JCL member can be available again tomorrow or sometime in the next > > decade when the task need repeating. > > > > > ​True, but so can a shell script. However, I think that in most cases the > majority of z/OS people are more likely to understand the JCL than a shell > script. This even though I, personally, prefer to use shell commands (yes, > I just remember them - likely means I use them too often). The main reason > being that I sometimes end up being in a UNIX environment (shell prompt > instead of TSO) and want to make a "scratch filesystem" for some temporary > space. It's easier for me to: > > mkdir ~/temp > zfsadm define -aggregate myhlq.temp.zfs -cyl 20 10 > zfsadm format -aggregate myhlq.temp.zfs -perms 0755 -compat -version5 > mount -f myhlq.temp.zfs ~/temp > # bunch of commands which use the temp space > unmount ~/temp > rmdir ~/temp > tsocmd "del temp.zfs" > > Not as easy as using a TSO ALLOC command in TSO, but simpler for me to do > than "switching mindset to TSO / JCL" to allocate & format the UNIX space.
Either or both are more keystrokes than I care to do frequently on the fly. Typos happen. Write once, cut'n'paste forever. I heard it here long ago. Everyone is allocated a finite number of keystrokes, and when they're over, the H'...... with you. > > > > -- > Veni, Vidi, VISA: I came, I saw, I did a little shopping. > > Maranatha! <>< > John McKown > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
