HI,
I need to process an ESDS file in CICS. I found an example in the archives but can’t get it to work. With KSDS I would do a startbr and then readnext,
but ESDS don’t seem to work that way.
Thanks,
Bob Paul
Bob,
Use the keyword RBA & RRN for reading and ESDS & RRDS files respectively.
MI.
From: owner...@Lehigh.EDU
[mailto:owner...@Lehigh.EDU] On Behalf Of Bob Paul
Sent: Tuesday, February 10, 2009 3:12 PM
To: VSE Discussion List
Subject: Reading ESDS files in CICS
HI,
An ESDS is a sequential file not a keyed file so I don’t think those commands are valid.
Jim Dodds
Systems Programmer
Kentucky State University
400 East Main Street
Frankfort, Ky 40601
From: owner-vs...@Lehigh.EDU [mailto:owner-vs...@Lehigh.EDU] On
Behalf Of Bob Paul
Sent: Tuesday, February 10, 2009
3:12 PM
To: VSE Discussion List
Subject: Reading ESDS files in
CICS
HI,
An ESDS is a sequential file not a keyed file so I don’t think those commands are valid unless use the special pointers associated with ESDS files
Jim Dodds
Systems Programmer
Kentucky State University
400 East Main Street
Frankfort, Ky 40601
From: owner-vs...@Lehigh.EDU [mailto:owner-vs...@Lehigh.EDU] On
Behalf Of Bob Paul
Sent: Tuesday, February 10, 2009
3:12 PM
To: VSE Discussion List
Subject: Reading ESDS files in
CICS
HI,
Hi Mohammed,
I get an INVREQ when I do the startbr. The code I am using is below. I used the code from Terry Ambrosius as an example.
Bob
01 ESDS-RBA PIC S9(8) VALUE +0 COMP.
EXEC CICS STARTBR DATASET('JURYSEL') <<<< this give me an invalid request
RIDFLD(ESDS-RBA)
EQUAL
RBA
END-EXEC.
Mark D. Boltax
Standard Motor Products,
Inc.
AHH !! THANKS A BUNCH !
It did not have browse – will change and try.
Thanks,
Bob
Well that didn’t work. I added Browse to the file with ceda and then installed the group. Still getting INVREQ. ??
Thanks,
Bob
Confidentiality Note: This e-mail, including any attachment to it, may contain material that is confidential, proprietary, privileged and/or "Protected Health Information," within the meaning of the regulations under the Health Insurance Portability & Accountability Act as amended. If it is not clear that you are the intended recipient, you are hereby notified that you have received this transmittal in error, and any review, dissemination, distribution or copying of this e-mail, including any attachment to it, is strictly prohibited. If you have received this e-mail in error, please immediately return it to the sender and delete it from your system. Thank you.
Bob,
Try full-word and not double.
01 ESDS-RBA PIC S9(4) VALUE +0 COMP.
From: owner...@Lehigh.EDU [mailto:owner...@Lehigh.EDU] On Behalf Of Bob Paul
Sent: Wednesday, February 11, 2009 9:13 AM
-----Original Message-----
From: owner...@Lehigh.EDU [mailto:owner...@Lehigh.EDU] On Behalf Of Wakser, David
Sent: Wednesday, February 11, 2009 9:49 AM
To: VSE Discussion List
Subject: RE: Reading ESDS files in CICS
I see you have EQUAL specified - check the file with DITTO and make certain that there is, indeed, a record at the RBA that you are specifying in ESDS-RBA.Also, you could have changed the BROWSE attribute from CEMT - please check again in CEMT to make certain that the BROWSE is now on.David Wakser
From: owner...@Lehigh.EDU [mailto:owner...@Lehigh.EDU] On Behalf Of Bob Paul
Sent: Wednesday, February 11, 2009 9:45 AM
To: VSE Discussion List
Subject: RE: Reading ESDS files in CICS
Well that didn’t work. I added Browse to the file with ceda and then installed the group. Still getting INVREQ. ??
Thanks,
Bob
From: owner...@Lehigh.EDU [mailto:owner...@Lehigh.EDU] On Behalf Of Bob Paul
Sent: Wednesday, February 11, 2009 9:29 AM
To: VSE Discussion List
Subject: RE: Reading ESDS files in CICS
AHH !! THANKS A BUNCH !
It did not have browse – will change and try.
Thanks,
Bob
From: owner...@Lehigh.EDU [mailto:owner...@Lehigh.EDU] On Behalf Of Boltax, Mark
Sent: Wednesday, February 11, 2009 9:19 AM
To: VSE Discussion List
Subject: RE: Reading ESDS files in CICS
Are you sure that the file is defined with the ability to "browse".
Mark D. Boltax
Standard Motor Products, Inc.
The content of this e-mail (including any attached files) is confidential and may be privileged and protected by law. It is intended solely for the purpose of the person to whom it is addressed. If you are not the intended recipient of this message, please notify the sender immediately and delete the message (inclusive of any attached files). In addition, if you are not the intended recipient of this message, any disclosure, copying, distribution or taking any action in reliance of the contents of this email is strictly prohibited.
Confidentiality Note: This e-mail, including any attachment to it, may contain material that is confidential, proprietary, privileged and/or "Protected Health Information," within the meaning of the regulations under the Health Insurance Portability & Accountability Act as amended. If it is not clear that you are the intended recipient, you are hereby notified that you have received this transmittal in error, and any review, dissemination, distribution or copying of this e-mail, including any attachment to it, is strictly prohibited. If you have received this e-mail in error, please immediately return it to the sender and delete it from your system. Thank you.
I checked with cedf and the file did not have browse even after adding browse with ceda and installing the group. I added it with cedf and
It is working now.
Many thanks to everyone !!
Bob
You have to do CLO (close) first on the file using CEMT inq FIL(xxxxx). Key in clo and hit enter key in OPE over the CLO and then key in BRO after the ADD statement (or if the other stuff is not there they should be in OPE ENA REA UPD ADD BRO DEL and it has to be in the right place or it looks like it works but it doesn’t.
From: owner-vs...@Lehigh.EDU [mailto:owner-vs...@Lehigh.EDU] On
Behalf Of Bob Paul
Sent: Wednesday, February 11, 2009
8:45 AM
To: VSE Discussion List
Subject: RE: Reading ESDS files in
CICS
Well that didn’t work. I added Browse to the file with ceda and then installed the group. Still getting INVREQ. ??
Thanks,
Bob
From: owner-vs...@Lehigh.EDU [mailto:owner-vs...@Lehigh.EDU] On
Behalf Of Bob Paul
Sent: Wednesday, February 11, 2009
9:29 AM
To: VSE Discussion List
Subject: RE: Reading ESDS files in
CICS
AHH !! THANKS A BUNCH !
It did not have browse – will change and try.
Thanks,
Bob
Tony Thigpen
-----Original Message -----
From: Kevin Corkery
Sent: 02/11/2009 10:32 AM
> The below is a half-word, a full word in COBOL is S9(8) COMP.
>
> ------------------------------------------------------------------------
> *From:* owner...@Lehigh.EDU [mailto:owner...@Lehigh.EDU] *On
> Behalf Of *Mohammed Imam
> *Sent:* Wednesday, February 11, 2009 9:55 AM
> *To:* VSE Discussion List
> *Subject:* RE: Reading ESDS files in CICS
Kids, pleeeeaase play nice.
I don't want to read the fine manual- but my guess/bet is that it says
that anything between 5 and 9 defined as BINARY (or COMP) will result in
storage allocation of 4 bytes ( full word).
--
Martin
--
XML2PDF - create PDFs from within z/VSE or z/OS; more at
http://www.pi-sysprog.de
-----Original Message-----
From: owner...@Lehigh.EDU [mailto:owner...@Lehigh.EDU] On Behalf Of
Tony Thigpen
Sent: Wednesday, February 11, 2009 11:52 AM
To: VSE Discussion List
In the context we had here (moving zero to it and then maintaining
whatever CICS returns) nothing will happen, regardless of TRUNC -option.
Tony Thigpen
Storage Occupied Digits in picture clause
---------------- ------------------------
2 bytes (halfword) 1 through 4
4 bytes (fullword) 5 through 9
8 bytes (doubleword) 10 through 18
Mohammed Imam
County of Cumberland, NC.