Page 1 of 1

How do you create a file with fixed decimal data in it

PostPosted: Tue Dec 02, 2008 8:10 am
by chatwithbee
How do you create a file with fixed decimal data in it?

Re: fixed decimal data

PostPosted: Tue Dec 02, 2008 8:17 am
by dick scherrer
Hello and welcome to the forums,

What is your definition of fixed decimal? That is not a cobol term that i'm familiar with.

Numeric data stored in a mainframe file is typically binary, packed-decimal, or zoned-decimal.

If you show a few values and how you want these values stored in the file, we should be able to help. Show the hex values of the data in the file.

Re: fixed decimal data

PostPosted: Tue Dec 02, 2008 8:45 am
by chatwithbee
well, it was actually my JCL homework and basically my teacher wants me to create a file that has fixed decimal data in it (where you have at least 2 fields, not concatenated, not at the front or back of the record). This file must have at least 6 fields. Name this file: KCNNNNN.COB2.FIXED.DEC.
I have searched everywhere but I don't have a clue what she meant

Re: fixed decimal data

PostPosted: Tue Dec 02, 2008 8:59 am
by dick scherrer
Hello,

I don't have a clue what she meant
Nor do i. . . :?

Can you talk with others who have the same homework assignment? What is the class currently working on in jcl (utilities like iebgener or idcams or filke-aid or sort)? Any reason given why the "fixed decimal" numbers cannot be at the end of the file (i too do not put such things at the beginning of the record)?

It may be time to ask for a clarificaton for the class if none of the others understand what is supposed to be done either.