Re: IBM Mainframe JCL Conversion Tools

From: steve (santer1_at_juno.com)
Date: 09/09/04

  • Next message: YukonMama: "Re: [OT] Hurricane Frances"
    Date: 8 Sep 2004 18:26:27 -0700
    
    

    Hey! I have extensive experience in UNISYS 2200 ECL. Who and where are
    you? I'd like to contact someone else out there who is using this
    stuff.

    Steve

    LX-i <lxi0007@netscape.net> wrote in message news:<Nq8Wc.29087$5s3.23216@fe40.usenetserver.com>...
    > Lawrence H Greenwald wrote:
    > >
    > > Having worked on IBM mainframes for over 20 years, I've seen COND and
    > > how bad it can be. Sorry, COND can only be used to check for a return
    > > code from a prior step or if a prior step has abended. The problem with
    > > COND is that it's bass-ackwards of what you would think would happen...
    > >
    > > If you've never seen it, typical use (overly simplified to save space)
    > > is this...
    > >
    > > //A EXEC PGM=AAA123
    > > /*
    > > //B EXEC PGM=XYZ456,COND=(12,GT,A)
    > > /*
    > >
    > > Now program AAA123 can set a return code (a value in register 15) just
    > > prior to exiting and step B will examine the value.
    > >
    > > If A returns a return code of, say, 10...then the expression is "is 12
    > > greater than 10?", then the condition is evaluated as TRUE and (here's
    > > where it's bass-ackwards), step B is BYPASSED (program XYZ456 is NOT
    > > executed)!!!
    > >
    > > If A returns a return code of, say, 14...then the condition is evaluated
    > > as FALSE and the step B (program XYZ456) is EXECUTED!!
    > >
    > > You think it's bad with one code, try it with multiple codes from
    > > multiple steps!! Yech!!
    >
    > I've recently gotten into some more complex ECL (Executive Control
    > Language, on the Unisys 2200-style mainframes), and their test condition
    > is the same - it seems backwards from the way the 3GL languages do
    > If/Else constructs. I still don't have a good enough grasp of it
    > (without the manual at my fingertips) to throw together a little example
    > here...
    >
    > Thanks for the explanation!
    >
    >
    > --
    > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    > ~ / \ / ~ Live from Montgomery, AL! ~
    > ~ / \/ o ~ ~
    > ~ / /\ - | ~ LXi0007@Netscape.net ~
    > ~ _____ / \ | ~ http://www.knology.net/~mopsmom/daniel ~
    > ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
    > ~ I do not read e-mail at the above address ~
    > ~ Please see website if you wish to contact me privately ~
    > ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
    > ~ GEEKCODE 3.12 GCS/IT d s-:+ a C++ L++ E--- W++ N++ o? K- w$ ~
    > ~ !O M-- V PS+ PE++ Y? !PGP t+ 5? X+ R* tv b+ DI++ D+ G- e ~
    > ~ h---- r+++ z++++ ~
    > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


  • Next message: YukonMama: "Re: [OT] Hurricane Frances"