Master the Mainframe Global User Group

Expand all | Collapse all

Weekly t-shirt Challenge: Ideas for the next t-shirt challenge

  • 1.  Weekly t-shirt Challenge: Ideas for the next t-shirt challenge

    Posted Thu April 23, 2020 06:54 PM

    Ideas for the Next T-shirt Challenge

    What a great week!  I loved seeing you all show off your COBOL.  Since we have a tie and I'm in a good mood, I'm going to give all of you that entered a shirt!  Thank you to @Fábio Emilio Costa, @Francisco Durante, @William Downie and @Ricardo Bánffy!   I hope I'll be out of quarantine soon and able to go to the post office - these shirts are piling up!

    I'm going to get all "meta" on you all this week.  The challenge for this week is to suggest next week's t-shirt challenge!!  You got that right - I'm looking for more challenge ideas.  They can be technical or fun, what would you like to see?   (This challenge may or may not be happening because I'm running out of ideas.)


    The rules:
    1.  Every Thursday, I'll start a new discussion thread titled Weekly Challenge.

    2.  This week, reply to the thread with your ideas for the next t-shirt challenge.  

    3.  Vote for your favorite entries by clicking the "Recommend" button next to your favorites.

    4.  The following Thursday, I'll announce the winner and start the next week's thread.

    5.  The person submitting the item with the most votes will receive one of these Legends of Z t-shirts (or equivalent)!

    ​​​
    ​​​​

    ------------------------------
    Misty Decker
    ------------------------------


  • 2.  RE: Weekly t-shirt Challenge: Ideas for the next t-shirt challenge

    Posted Fri April 24, 2020 02:44 AM
    OK, I'll give it a go.


    Probably almost everyone who works as a programmer has a bit of compile, link, and go JCL, with some in-stream PL/I (or assembler/Cobol/C) to quickly test things, and I'm not an exception. Many of these test jobs don't contain more than a few lines of code, but sometimes people might do a bit more, but I'm not talking about those friend-of-a-friend-of-a-friend stories where people run the administration of sports clubs for others, it has to be something purely personal, but totally unrelated to work.

    So what have you "abused" your little test job for?

    Robert

    ------------------------------
    Robert Prins
    Programmer/analyst-programmer
    Freelancer "between contracts"
    Vilnius
    +370 60549447
    ------------------------------



  • 3.  RE: Weekly t-shirt Challenge: Ideas for the next t-shirt challenge

    Posted Fri April 24, 2020 06:50 AM
    I think most of us are on lockdown at home, working on home office.

    So, three ideas:

    1. A picture from your home office, and some comments on what you use to do your job
    2. A screenshot of your PC desktop, to see the funny wallpapers everyone have
    3. The big issues on transition for home office for those that had to go to thanks COVID-19: had you bought something? How you manage your time? And work with family?


    ------------------------------
    Fábio Emilio Costa
    Performance Analyst
    SERPRO
    Sao Paulo
    +551121731676
    ------------------------------



  • 4.  RE: Weekly t-shirt Challenge: Ideas for the next t-shirt challenge

    Posted Sun April 26, 2020 07:15 AM
    Edited by William Downie Mon April 27, 2020 04:54 AM
    I am currently reading "Ready Player One" by Ernest Cline. The book is set in 2045, a world gripped by problems, where most people work, socialise and are educated in a virtual universe called the OASIS (sound familiar ?). The creator of the OASIS has hidden an Easter Egg in the OASIS and the story is the finding of the egg.

    So, idea for a weekly challenge is ...

    • Have you ever coded an Easter Egg ?
    • Did it have any practical use, or was it a bit of fun ?
    • Did you tell anyone about it ?
    • If not, how long did it take till it was found ?


    ------------------------------
    William Downie
    ------------------------------



  • 5.  RE: Weekly t-shirt Challenge: Ideas for the next t-shirt challenge

    Posted Mon April 27, 2020 03:35 AM
    "Modern" programming languages like Python or C++ are available on the host and can be used universally. Can you write a pure Python script to print out the CPU model?

    ------------------------------
    Kai Peter Nacke
    ------------------------------



  • 6.  RE: Weekly t-shirt Challenge: Ideas for the next t-shirt challenge

    Posted Tue April 28, 2020 06:38 AM
    Edited by Ricardo Bánffy Tue April 28, 2020 06:39 AM
    How would you ask z/OS for the CPU model? Does the Unix environment have tools like `lscpu` and `uname -m` (the latter would probably reply with s390x or something of equal limited utility in this case and the former is a Linux thing that usually doesn't exist elsewhere).

    Under a LinuxONE environment, that's trivial - it's just Linux (on hardware running at ludicrous speeds)

    ------------------------------
    Ricardo Bánffy
    ------------------------------



  • 7.  RE: Weekly t-shirt Challenge: Ideas for the next t-shirt challenge

    Posted Tue April 28, 2020 06:54 AM
    uname -m works in z/OS USS.
    The information is stored in the Communication Vector Table (CVT) in the CVT prefix (https://www.ibm.com/support/knowledgecenter/SSLTBW_2.4.0/com.ibm.zos.v2r4.iead100/CVT-map.htm). IMHO the fun is to access this piece of data from Python directly.

    ------------------------------
    Kai Nacke
    IT Architect
    IBM Deutschland GmbH
    ------------------------------



  • 8.  RE: Weekly t-shirt Challenge: Ideas for the next t-shirt challenge

    Posted Wed April 29, 2020 08:39 AM
    I don't remember exactly which, but there's a SDSF panel where you can find configuration information. You can use a REXX script to extract this information if needed


    ------------------------------
    Fábio Emilio Costa
    Performance Analyst
    SERPRO
    Sao Paulo
    +551121731676
    ------------------------------



  • 9.  RE: Weekly t-shirt Challenge: Ideas for the next t-shirt challenge

    Posted Wed April 29, 2020 11:57 AM

    David Stephens' "longpelaexpertise" site has an abundance of sample code for stuff like this. 😉

    http://longpelaexpertise.com.au/ezine/InfoFromzOS.php



    ------------------------------
    David Staudacher
    ------------------------------



  • 10.  RE: Weekly t-shirt Challenge: Ideas for the next t-shirt challenge

    Posted Wed May 13, 2020 03:20 PM

    Hi,

     

    You can execute a REXX directly under OMVS (USS).

    You can use the storage function to access the z/os control block.  

     

    Here a sample; /u/x6001U/scpu   

                                            

    CVT   = C2d(Storage(10,4))               

    MODEL = C2d(Storage(D2x(CVT - 6),2))     

    MODEL = D2x(MODEL)                       

    say "cpu model is "model 

     

    $ scpu            

    cpu model is 3907 

    $                    

     

    Martin                                        

     






  • 11.  RE: Weekly t-shirt Challenge: Ideas for the next t-shirt challenge

    Posted Tue April 28, 2020 06:54 PM
    "Modernising the Mainframe" : a demo (video/webpage/ppt, etc.) showcasing what you've done to integrate z/OS mainframe with modern technology platforms (eg. REST API's, Kafka Event Driven solutions, Cloud integration, etc.)

    ------------------------------
    Arnel Baloyo
    ------------------------------



  • 12.  RE: Weekly t-shirt Challenge: Ideas for the next t-shirt challenge

    Posted Fri May 29, 2020 10:32 AM
    lets go!!!

    ------------------------------
    Vigro Deep
    ------------------------------