MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

test region setup

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
crajaraman
Beginner


Joined: 13 Feb 2003
Posts: 1
Topics: 1

PostPosted: Thu Feb 13, 2003 9:51 am    Post subject: test region setup Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Thu Feb 13, 2003 7:55 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group