cobol+vsam+cics(file Handling)



Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

cobol+vsam+cics(file Handling)

Postby madhavan » Tue Mar 20, 2012 7:00 pm

Hi,

I am beginner of cics.i want one help. i am having ksds file. In this file its contain 5 records.
I want to display all the records. But it will show only the last record.

I am using cob+cics+vsam.I am using start browser and readnext.

How i can display all records in cics?
pls help me......... :?
madhavan
 
Posts: 23
Joined: Fri Mar 09, 2012 11:03 am
Has thanked: 0 time
Been thanked: 0 time

Re: cobol+vsam+cics(file Handling)

 

Re: cobol+vsam+cics(file Handling)

Postby BillyBoyo » Tue Mar 20, 2012 8:12 pm

If you have code which is not working, you have to show it to us.

Please use the Code tags, the grey button above the main input box that says Code. Highlight the text, click on Code, use Preview button. Adjust and Preview until happy with how it looks. Click Submit.
BillyBoyo
Global moderator
 
Posts: 3759
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 256 times

Re: cobol+vsam+cics(file Handling)

Postby dick scherrer » Tue Mar 20, 2012 11:54 pm

Hello,

I am using start browser and readnext.
Hopefully, START BROWSE. . .

When posting the prblem code, not the entire program please. . . Only the parts that relate to your reading of the vsam file.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6308
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 90 times

Re: cobol+vsam+cics(file Handling)

Postby GopalReddyA » Fri Jul 11, 2014 1:14 pm

I am new to CICS and trying to load the ESDS VSAM file into a table in CICS. Can you please help me with the code.

Also i don't have any key to read ESDS. I have to read entire record starting first till last and keep it in Array.

Please help me.

Let me know for any additional info.
GopalReddyA
 
Posts: 2
Joined: Fri Jul 11, 2014 1:11 pm
Has thanked: 0 time
Been thanked: 0 time

Re: cobol+vsam+cics(file Handling)

Postby Robert Sample » Fri Jul 11, 2014 6:37 pm

First, you do NOT want to read an entire VSAM ESDS into an array in CICS; programs in CICS are designed to be transient and your code could be attempting to load that table dozens (or hundreds) of times per second, with predictable consequences to the region's response time and memory usage.

Second, ESDS data sets do NOT have keys -- hence the name "Entry Sequenced DS". So why tell us you don't have a key for the ESDS file -- we know that already?

Third, do not tailgate on old topics. You should have posed your question as a new topic.

Fourth, tell us what your goal is and we can help with suggestions about how to accomplish that goal without attempting something ridiculous like reading an entire ESDS into an array.
Robert Sample
Global moderator
 
Posts: 3123
Joined: Sat Dec 19, 2009 8:32 pm
Location: Bellevue, Iowa
Has thanked: 1 time
Been thanked: 182 times

Re: cobol+vsam+cics(file Handling)

Postby GopalReddyA » Fri Jul 11, 2014 6:41 pm

Thanks Robert..will post it as new topic
GopalReddyA
 
Posts: 2
Joined: Fri Jul 11, 2014 1:11 pm
Has thanked: 0 time
Been thanked: 0 time


Return to CICS

 


  • Related topics
    Replies
    Views
    Last post