Check if the status that you are checking is actually assigned to this file and then that it is not being updated by other files

Sent from my iPhone

On 24 Jun 2011, at 18:00, cobol400-l-request@xxxxxxxxxxxx wrote:

Send COBOL400-L mailing list submissions to
cobol400-l@xxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.midrange.com/mailman/listinfo/cobol400-l
or, via email, send a message with subject or body 'help' to
cobol400-l-request@xxxxxxxxxxxx

You can reach the person managing the list at
cobol400-l-owner@xxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of COBOL400-L digest..."


Today's Topics:

1. Blank file status (Austin, Mark)


----------------------------------------------------------------------

message: 1
date: Fri, 24 Jun 2011 07:24:54 +0100
from: "Austin, Mark" <Mark.Austin@xxxxxxxxxx>
subject: [COBOL400-L] Blank file status

Hi,

I've got an ILE Cobol program I've just written that reads through the output of a DSPFFD command but when it tries to read it I am being returned a blank file status but successfully returns the first record.

It successfully opened the file, returning a '00' file status for that operation, which suggests to me I've got everything correctly setup.

In debug (I'm using SEP in RDp) I have set the status to '00' and continued to the next read and I get the same issue.

The file is selected as a sequential file (as it has no key) with an access mode of sequential and I am using declaratives but it doesn't seem to execute the declaratives.

Has anyone got any idea what is causing this?

Best regards,

Mark Austin
IT Consultant
Universal Music Publishing Group
Bond House, 347-353 Chiswick High Road, London W4 4HS
Tel: +44 (0)208 742 5520 / Fax: +44 (0)208 742 5699
mark.austin@xxxxxxxxxx<mailto:mark.austin@xxxxxxxxxx>

Universal Music Publishing International Limited
Registered in England. Number 02050403
Registered Office: 347-353 Chiswick High Road, London W4 4HS

________________________________
"**Confidentiality**
The information contained in this e-mail is confidential, may be privileged and is intended solely for the use of the named addressee. Access to this e-mail by any other person is not authorised. If you are not the intended recipient, you should not disclose, copy, distribute, take any action or rely on it and you should please notify the sender by reply. Any opinions expressed are not necessarily those of the company.

We may monitor all incoming and outgoing emails in line with current legislation. We have taken steps to ensure that this email and attachments are free from any virus, but it remains your responsibility to ensure that viruses do not adversely affect you.


------------------------------


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.