IC5Notice: We have upgraded developerWorks Community to the latest version of IBM Connections. For more information, read our upgrade FAQ.
Topic
  • 4 replies
  • Latest Post - ‏2009-09-11T17:07:01Z by gogol
graham40
graham40
127 Posts

Pinned topic Appropriate TXS Windows XP Environment setup

‏2009-06-26T01:32:30Z |
Hello,

In my isolated world, I have batch and CICS COBOL compiles, BMS map assemblies (both VSAM and DB2 programs), table updates and transactions working. My environment does work but getting there was awkward and today I am not convinced that the end result is 'as the pros' would do it.

Might it be reasonable for somebody to do a SET command in a COBOL/PLI window (including DB2 env vars) and post the results as an IBM 'suggestion'. Given that I did a regular install, might it be more palateable to post my own SET command results plus command files I use for program compiles and map assemblies and invite corrections. Is OK to ask this at all?

Please, thanks,

Graham Hobbs
Updated on 2009-09-11T17:07:01Z at 2009-09-11T17:07:01Z by gogol
  • gogol
    gogol
    83 Posts

    Re: Appropriate TXS Windows XP Environment setup

    ‏2009-06-26T17:38:07Z  
    >
    > . Given that I did a regular install, might it be more palateable to post my own SET command results plus command files I use for program compiles and map assemblies and invite corrections. Is OK to ask this at all?
    >

    Hi Graham, You are welcome. Remember this is a forum for TXSeries users to interact and help each other. Any tips/tricks/assets that you can share, which could help other users are always welcomed by all forum users.

    Thanks.
  • graham40
    graham40
    127 Posts

    Re: Appropriate TXS Windows XP Environment setup

    ‏2009-06-27T17:37:09Z  
    • gogol
    • ‏2009-06-26T17:38:07Z
    >
    > . Given that I did a regular install, might it be more palateable to post my own SET command results plus command files I use for program compiles and map assemblies and invite corrections. Is OK to ask this at all?
    >

    Hi Graham, You are welcome. Remember this is a forum for TXSeries users to interact and help each other. Any tips/tricks/assets that you can share, which could help other users are always welcomed by all forum users.

    Thanks.
    Hi Gogol,

    OK, am TXSeries 6.2.0.1, RDz 7.1.1.3, Windows XP Pro. In general my stuff works but am eager to confirm that my environment is 'professional' and:

    • that, without change, it can withstand RDz or TXS updates/upgrades
    • learn if the parms in the SET stmt below are: correct, can/should be improved, missing anything 'normal'

    I've always had the feeling that I've patched things over the months to reach where I am now!

    As an e.g, I thought it might be wiser to setup 'tempmem' and 'cobopt' as environmental variables via start/settins/control panel/system/advanced/environment variables?

    Any advice, suggestions, would be appreciated, please and thanks.
    Graham


    ...to assemble a BMS map, a batch file contains:


    rem get rid of any old copybook DD30ME1.CBL
    rem assemble DD30ME1.BMS giving DD30ME1
    rem check that it worked
    rem rename the DD30ME1 to DD30ME1.CBL for 'copy dd30me1' in a pgm (not keen on files without suffixes)
    rem rexx UTCICSMP checks DD30ME1.CBL for any chars past col 72 (a fielldname > 28 bytes will do this)
    DEL DD30ME1.CBL
    CALL cicsmap -r DD30ME1
    IF NOT EXIST DD30ME1.MAP SET ERRORFL=DD30ME1&GOTO someabendroutine
    REN DD30ME1 DD30ME1.CBL
    CALL UTCICSMP DD30ME1.CBL
    ECHO I: DD30ME1 MAP ASSEMBLY FINISHED.


    ...to compile/link a COBOL/CICS/VSAM pgm, a batch file contains:


    rem compile/link pgm QKVSP08.CCP
    rem and check for errors
    CALL XTCL QKVSP08
    IF ERRORLEVEL 1 SET ERRORFL=QKVSP08&GOTO someabendroutine

    ...where XTCL contains
    ---

    set tempmem=on
    set cobopt=noseq
    CICSTCL -l IBMCOB -a -d -v -s %1.ccp



    ...to compile a COBOL/CICS/DB2 pgm, a batch file contains:


    rem preprocess/compile/link pgm DD30P04.SQB
    rem and check for errors
    CALL XTCLDB2 DD30P04
    IF ERRORLEVEL 1 SET ERRORFL=DD30P04&GOTO someabendroutine

    ...where XTCLDB2 contains
    ---

    set tempmem=on
    set cobopt="noseq"
    set userlib="C:\Program Files\IBM\SQLLIB\lib\db2api.lib"
    set CICS_IBM_FLAGS="-g"
    set syslib=c:\Program Files\IBM\SQLLIB\include\cobol_a;c:\opt\cics\include;c:\Program Files\IBM\sqllib
    DB2 CONNECT RESET
    DB2 CONNECT TO WCB3
    DB2 PREP %1.SQB BINDFILE TARGET IBMCOB OUTPUT %1.ccp
    DB2 BIND %1.BND
    CICSTCL -l IBMCOB -a -d -v -s %1


    ...and my environment looks like


    C:\conrad\dd30>set
    ALLUSERSPROFILE=C:\Documents and Settings\All Users
    APPDATA=C:\Documents and Settings\GJH\Application Data
    CICSNLS=C:\opt\cics\MSG\en_US\@N
    CICSPATH=C:\opt\cics
    CICS_IBMCOB_FLAGS=-qlib,xref,ssrange,nosequence,map,trunc(bin)
    CICS_IBM_FLAGS="-g"
    CIPC_SHMBASE=0X60000000
    CLASSPATH=C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\db
    2jcc.jar;C:\PROGRA~1\IBM\SQLLIB\java\sqlj.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc
    _license_cu.jar;C:\PROGRA~1\IBM\SQLLIB\bin;C:\PROGRA~1\IBM\SQLLIB\java\common.ja
    r;.;.;C:\Program Files\IBM\SDP70\bin\jDclgen.jar;.;C:\Program Files\Java\jre1.6.
    0_01\lib\ext\QTJava.zip
    COBOLMAIN=C:\Program Files\IBM\SDP70
    cobopt="noseq"
    cobpath=c:\conrad\temexe
    CommonProgramFiles=C:\Program Files\Common Files
    COMPUTERNAME=GRAHAM
    ComSpec=C:\WINDOWS\system32\cmd.exe
    DB2CLP=DB20FADE
    DB2DBDFT=WCB3
    DB2INSTANCE=DB2
    DB2PATH=C:\Program Files\IBM\SQLLIB
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Documents and Settings\GJH
    IBMPLI=C:\Program Files\IBM\SDP70
    INCLUDE=C:\Program Files\IBM\SQLLIB\INCLUDE;C:\Program Files\IBM\SDP70\INCLUDE
    LANG=en_US
    LIB=C:\Program Files\IBM\SQLLIB\LIB;C:\Program Files\IBM\SDP70\wdz\jdk\lib;C:\Pr
    ogram Files\IBM\SDP70\lib
    LOCPATH=C:\Program Files\IBM\SDP70\LOCALE;
    LOGONSERVER=\\GRAHAM
    NLSPATH=C:\Program Files\IBM\SDP70\MESSAGES\%L\%N;C:\opt\cics\MSG\en_US\@N
    NUMBER_OF_PROCESSORS=2
    OS=Windows_NT
    Path=C:\Program Files\IBM\SQLLIB\BIN;C:\Program Files\IBM\SQLLIB\FUNCTION;C:\Pro
    gram Files\IBM\SDP70\wdz\jdk\jre\bin\classic;C:\Program Files\IBM\SDP70\wdz\jdk\
    jre\bin;C:\Program Files\IBM\SDP70\wdz\jdk\bin;C:\Program Files\IBM\SDP70\bin;C:
    \WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;C:\GHEXE;C:\GHEXE1;C:\GHPG
    MS\PKZIP25;C:\PROGRAM FILES\OOREXX;C:\CONRAD\TEMEXE\;C:\OPT\CICS\BIN;C:\Program
    Files\Panda Security\Panda Antivirus Pro 2009\
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.REX
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 11, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=0f0b
    ProgramFiles=C:\Program Files
    PROMPT=$P$G
    QTJAVA=C:\Program Files\Java\jre1.6.0_01\lib\ext\QTJava.zip
    REXX_HOME=C:\Program Files\ooRexx
    scrmfilo=zzg05scr.txt
    SESSIONNAME=Console
    syslib=c:\Program Files\IBM\SQLLIB\include\cobol_a;c:\opt\cics\include;c:\Progra
    m Files\IBM\sqllib
    SystemDrive=C:
    SystemRoot=C:\WINDOWS
    TEMP=C:\DOCUME~1\GJH\LOCALS~1\Temp
    tempmem=on
    TERM=vt100
    TMP=C:\DOCUME~1\GJH\LOCALS~1\Temp
    TPFSHARE=C:\Program Files\IBM\SDP70\Config\TPFSHARE
    USERDOMAIN=GRAHAM
    userlib="C:\Program Files\IBM\SQLLIB\lib\db2api.lib"
    USERNAME=GJH
    USERPROFILE=C:\Documents and Settings\GJH
    WDZ71INSTDIR=C:\Program Files\IBM\SDP70
    windir=C:\WINDOWS

    C:\conrad\dd30>
  • graham40
    graham40
    127 Posts

    Re: Appropriate TXS Windows XP Environment setup

    ‏2009-07-27T14:31:39Z  
    • graham40
    • ‏2009-06-27T17:37:09Z
    Hi Gogol,

    OK, am TXSeries 6.2.0.1, RDz 7.1.1.3, Windows XP Pro. In general my stuff works but am eager to confirm that my environment is 'professional' and:

    • that, without change, it can withstand RDz or TXS updates/upgrades
    • learn if the parms in the SET stmt below are: correct, can/should be improved, missing anything 'normal'

    I've always had the feeling that I've patched things over the months to reach where I am now!

    As an e.g, I thought it might be wiser to setup 'tempmem' and 'cobopt' as environmental variables via start/settins/control panel/system/advanced/environment variables?

    Any advice, suggestions, would be appreciated, please and thanks.
    Graham


    ...to assemble a BMS map, a batch file contains:


    rem get rid of any old copybook DD30ME1.CBL
    rem assemble DD30ME1.BMS giving DD30ME1
    rem check that it worked
    rem rename the DD30ME1 to DD30ME1.CBL for 'copy dd30me1' in a pgm (not keen on files without suffixes)
    rem rexx UTCICSMP checks DD30ME1.CBL for any chars past col 72 (a fielldname > 28 bytes will do this)
    DEL DD30ME1.CBL
    CALL cicsmap -r DD30ME1
    IF NOT EXIST DD30ME1.MAP SET ERRORFL=DD30ME1&GOTO someabendroutine
    REN DD30ME1 DD30ME1.CBL
    CALL UTCICSMP DD30ME1.CBL
    ECHO I: DD30ME1 MAP ASSEMBLY FINISHED.


    ...to compile/link a COBOL/CICS/VSAM pgm, a batch file contains:


    rem compile/link pgm QKVSP08.CCP
    rem and check for errors
    CALL XTCL QKVSP08
    IF ERRORLEVEL 1 SET ERRORFL=QKVSP08&GOTO someabendroutine

    ...where XTCL contains
    ---

    set tempmem=on
    set cobopt=noseq
    CICSTCL -l IBMCOB -a -d -v -s %1.ccp



    ...to compile a COBOL/CICS/DB2 pgm, a batch file contains:


    rem preprocess/compile/link pgm DD30P04.SQB
    rem and check for errors
    CALL XTCLDB2 DD30P04
    IF ERRORLEVEL 1 SET ERRORFL=DD30P04&GOTO someabendroutine

    ...where XTCLDB2 contains
    ---

    set tempmem=on
    set cobopt="noseq"
    set userlib="C:\Program Files\IBM\SQLLIB\lib\db2api.lib"
    set CICS_IBM_FLAGS="-g"
    set syslib=c:\Program Files\IBM\SQLLIB\include\cobol_a;c:\opt\cics\include;c:\Program Files\IBM\sqllib
    DB2 CONNECT RESET
    DB2 CONNECT TO WCB3
    DB2 PREP %1.SQB BINDFILE TARGET IBMCOB OUTPUT %1.ccp
    DB2 BIND %1.BND
    CICSTCL -l IBMCOB -a -d -v -s %1


    ...and my environment looks like


    C:\conrad\dd30>set
    ALLUSERSPROFILE=C:\Documents and Settings\All Users
    APPDATA=C:\Documents and Settings\GJH\Application Data
    CICSNLS=C:\opt\cics\MSG\en_US\@N
    CICSPATH=C:\opt\cics
    CICS_IBMCOB_FLAGS=-qlib,xref,ssrange,nosequence,map,trunc(bin)
    CICS_IBM_FLAGS="-g"
    CIPC_SHMBASE=0X60000000
    CLASSPATH=C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\db
    2jcc.jar;C:\PROGRA~1\IBM\SQLLIB\java\sqlj.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc
    _license_cu.jar;C:\PROGRA~1\IBM\SQLLIB\bin;C:\PROGRA~1\IBM\SQLLIB\java\common.ja
    r;.;.;C:\Program Files\IBM\SDP70\bin\jDclgen.jar;.;C:\Program Files\Java\jre1.6.
    0_01\lib\ext\QTJava.zip
    COBOLMAIN=C:\Program Files\IBM\SDP70
    cobopt="noseq"
    cobpath=c:\conrad\temexe
    CommonProgramFiles=C:\Program Files\Common Files
    COMPUTERNAME=GRAHAM
    ComSpec=C:\WINDOWS\system32\cmd.exe
    DB2CLP=DB20FADE
    DB2DBDFT=WCB3
    DB2INSTANCE=DB2
    DB2PATH=C:\Program Files\IBM\SQLLIB
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Documents and Settings\GJH
    IBMPLI=C:\Program Files\IBM\SDP70
    INCLUDE=C:\Program Files\IBM\SQLLIB\INCLUDE;C:\Program Files\IBM\SDP70\INCLUDE
    LANG=en_US
    LIB=C:\Program Files\IBM\SQLLIB\LIB;C:\Program Files\IBM\SDP70\wdz\jdk\lib;C:\Pr
    ogram Files\IBM\SDP70\lib
    LOCPATH=C:\Program Files\IBM\SDP70\LOCALE;
    LOGONSERVER=\\GRAHAM
    NLSPATH=C:\Program Files\IBM\SDP70\MESSAGES\%L\%N;C:\opt\cics\MSG\en_US\@N
    NUMBER_OF_PROCESSORS=2
    OS=Windows_NT
    Path=C:\Program Files\IBM\SQLLIB\BIN;C:\Program Files\IBM\SQLLIB\FUNCTION;C:\Pro
    gram Files\IBM\SDP70\wdz\jdk\jre\bin\classic;C:\Program Files\IBM\SDP70\wdz\jdk\
    jre\bin;C:\Program Files\IBM\SDP70\wdz\jdk\bin;C:\Program Files\IBM\SDP70\bin;C:
    \WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;C:\GHEXE;C:\GHEXE1;C:\GHPG
    MS\PKZIP25;C:\PROGRAM FILES\OOREXX;C:\CONRAD\TEMEXE\;C:\OPT\CICS\BIN;C:\Program
    Files\Panda Security\Panda Antivirus Pro 2009\
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.REX
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 11, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=0f0b
    ProgramFiles=C:\Program Files
    PROMPT=$P$G
    QTJAVA=C:\Program Files\Java\jre1.6.0_01\lib\ext\QTJava.zip
    REXX_HOME=C:\Program Files\ooRexx
    scrmfilo=zzg05scr.txt
    SESSIONNAME=Console
    syslib=c:\Program Files\IBM\SQLLIB\include\cobol_a;c:\opt\cics\include;c:\Progra
    m Files\IBM\sqllib
    SystemDrive=C:
    SystemRoot=C:\WINDOWS
    TEMP=C:\DOCUME~1\GJH\LOCALS~1\Temp
    tempmem=on
    TERM=vt100
    TMP=C:\DOCUME~1\GJH\LOCALS~1\Temp
    TPFSHARE=C:\Program Files\IBM\SDP70\Config\TPFSHARE
    USERDOMAIN=GRAHAM
    userlib="C:\Program Files\IBM\SQLLIB\lib\db2api.lib"
    USERNAME=GJH
    USERPROFILE=C:\Documents and Settings\GJH
    WDZ71INSTDIR=C:\Program Files\IBM\SDP70
    windir=C:\WINDOWS

    C:\conrad\dd30>
    Ahaa..
    No replies so my environment must be perfect:-) . .
    to say nothing of the fact the post was probably far too long and not really an issue.
    Will think to avoid doing this again.
    Graham
  • gogol
    gogol
    83 Posts

    Re: Appropriate TXS Windows XP Environment setup

    ‏2009-09-11T17:07:01Z  
    • graham40
    • ‏2009-07-27T14:31:39Z
    Ahaa..
    No replies so my environment must be perfect:-) . .
    to say nothing of the fact the post was probably far too long and not really an issue.
    Will think to avoid doing this again.
    Graham
    > to say nothing of the fact the post was probably far too long and not really an issue.
    > Will think to avoid doing this again.

    If you intend to share code, please add them as file attachments. That would help
    avoiding long posts. That would also help anyone interested in using it to download directly.