Report writing using ESDS file

Post your questions related to VSAM

Moderator: Moderator Group

Post Reply
ibas
Member
Posts: 2
Joined: Sun Feb 21, 2010 12:24 am

Report writing using ESDS file

Post by ibas » Sun Feb 21, 2010 12:30 am

I have ESDS file in my CICS program.But I want to use this file as a report file.e.g want to format this file using ADVANCING PAGE, AFTER 1, after 2, after 3 etc phrases. Is it possible?Please provide syntax.

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Sun Feb 21, 2010 2:11 pm

My first question would why do you want to do it? But on the other hand, I've never tried it - it's Sunday and I'm at home and can't really try it out.

Off hand, an ESDS is essentially a sequential dataset where new records are always inserted at the end. You cannot access records directly with a key - AIX for ESDS may be a choice, but that's all just for a report sounds like an expensive bargain.
Regards,
Anuj

User avatar
Natarajan
Moderator
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai
Contact:

CICS - VSAM - ESDS - WRITE command

Post by Natarajan » Sun Feb 21, 2010 4:56 pm

CICS may not support ADVANCING PAGE option. COBOL statements like OPEN CLOSE READ WRITE REWRITE are not suppored by CICS. Because these statement trigger OS supervisor calls.

If you tell us , your full requirement. we can suggest a CICS design technique
to satisfy that requirement.
Natarajan
Chennai

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others