Author |
Message |
Topic: Cobol - FD statement on variable length input file |
vlady
Replies: 5
Views: 5391
|
Forum: Application Programming Posted: Fri Jul 29, 2005 6:07 am Subject: Cobol - FD statement on variable length input file |
Oh, I didn't create the file, it already exist, I'm just trying to read it. Maybe I'm stupid but I've just never seen a file created with the LRECL of zero.
Thanks for the suggestion, I'll try tha ... |
Topic: Cobol - FD statement on variable length input file |
vlady
Replies: 5
Views: 5391
|
Forum: Application Programming Posted: Thu Jul 28, 2005 7:51 pm Subject: Cobol - FD statement on variable length input file |
There is a file that I need to use as my input file but it was created with LRECL=0, BLKSIZE=27998.
My program bombs on the open of the file with the following messages:
An error occurred when ... |
Topic: Summing like records within a date range |
vlady
Replies: 10
Views: 4979
|
Forum: Application Programming Posted: Sat Dec 18, 2004 6:25 am Subject: Summing like records within a date range |
Yes it has to be Cobol. I don't think that would work in this situation. I need those individual records for other parts of the program and only need them grouped together in the output.
Thanks f ... |
Topic: Summing like records within a date range |
vlady
Replies: 10
Views: 4979
|
Forum: Application Programming Posted: Fri Dec 17, 2004 6:52 pm Subject: Summing like records within a date range |
Ah, I get the picture now.
Thanks you! |
Topic: Summing like records within a date range |
vlady
Replies: 10
Views: 4979
|
Forum: Application Programming Posted: Fri Dec 17, 2004 1:03 pm Subject: Summing like records within a date range |
15 INPUT-VALUE1 PIC S9(09)V99.
15 INPUT-VALUE2 PIC S9(09)V99.
15 INPUT-VALUE3 PIC S9(09)V99.
15 OUTPUT-VALUE1 PIC ZZZ,ZZZ,ZZZ.ZZ-.
15 OUTPUT ... |
Topic: Summing like records within a date range |
vlady
Replies: 10
Views: 4979
|
Forum: Application Programming Posted: Fri Dec 17, 2004 12:43 pm Subject: Summing like records within a date range |
I'm obviously not doing very well at explaining this. Here are examples of the real input and output. I need to group all of the "Rec Type 02" records using the range of the "Activity Date" (month/y ... |
Topic: Summing like records within a date range |
vlady
Replies: 10
Views: 4979
|
Forum: Application Programming Posted: Fri Dec 17, 2004 11:04 am Subject: Summing like records within a date range |
Sorry first time posting here.
Yes, I know my beginning and ending dates - they are part of the record and will be for one year (11/1/03 - 11/1/04)
Sample input data will look like
begin date ... |
Topic: Summing like records within a date range |
vlady
Replies: 10
Views: 4979
|
Forum: Application Programming Posted: Fri Dec 17, 2004 10:31 am Subject: Summing like records within a date range |
I'm stuck and just can't seem to think this one out. My input file consists of different record types (01, 02, 03, etc), they are always in numeric order along with a date. I want to take all of the ... |
|