crajaraman Beginner
Joined: 13 Feb 2003 Posts: 1 Topics: 1
|
Posted: Thu Feb 13, 2003 9:51 am Post subject: test region setup |
|
|
I am testing something called double enrollments in Apollo system.
Apollo is a mainframe based system for pensions.
There is a COBOL program written to list all the double enrollments in
the pension system. All cases where the same pension holder is enrolled
twice are listed.
I need to know the following things..
I have some docs that tell me how to setup a CICS region for testing.
This region is called FXCICS.
When I enter FXCICS from mainframe TPX menu, I get some menus using which I can enter Apollo as one of the menu options.
I do not know how to run a batch COBOL program to list the double
enrollments..
do i do it from TSO ?
do i have to write any JCL to run this COBOL program ?
I have some JCL code to do something with interests..
how do i view it and run it..
i know how to do it with solaris or windows where u find a file and
run it from command line.
how do i find files and run them from commandline in mvs..
do i use listcat, etc. ?
thanks
raj |
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Thu Feb 13, 2003 7:55 pm Post subject: |
|
|
crajaraman,
You can run the cobol pgm using a JCL .
Code: |
//STEP0100 EXEC PGM=COBPGM
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//INFILE DD DSN=YOUR INPUT FILES,
// DISP=SHR
...list all your input files
//OUTFILE DD DSN=YOUR OUTPUT FILE,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,
// SPACE=(CYL,(1,1),RLSE)
|
check the program and see the SELECT . for ex:
Code: |
SELECT CLAIMS-FILE
ASSIGN TO INFILE
ORGANIZATION IS SEQUENTIAL
|
to run your cobol program you need to define the files to the operating system here the claims file will associated to DDNAME INFILE
to browse the files just go to option 3.4 and give the filename and put a 'b' besides the file name and you can browse the contents of the file
Hope this helps...
cheers
kolusu |
|