Page 1 of 1

How to read a file when hexa is on

PostPosted: Tue Apr 14, 2009 3:33 pm
by pahi
Hello,


I want to know how exactly to read a file (DSN) when haxa is on?

Regards,
Pahi

Re: How to read a file when hexa is on

PostPosted: Tue Apr 14, 2009 6:38 pm
by Bill Dennis
When "HEXA IS ON"? What is this and where do you turn it on? Please describe in more detail.

Re: How to read a file when hexa is on

PostPosted: Wed Apr 15, 2009 10:00 am
by pahi
Hello Bill,

When i am reading a DSN(file) which contains data about imp table then how to read this?

000001 100002008404                   
       FFFFFFFFFFFF4444444444444444444
       1000020084040000000000000000000

How to read the above formatt it is in hexa form?

I have another sample data used when hexa is off 000002 2 çp ?AJ9801.

Re: How to read a file when hexa is on

PostPosted: Wed Apr 15, 2009 10:18 am
by dick scherrer
Hello,

Notice your data has now been "Code"ed. You should practice with the Code tag so when you post things like data or code or jcl it is more readable.

Is there some reason you did not post the hex for the second bit of data?

which contains data about imp table
What does this mean? What is an "imp table"?
then how to read this
You would issue a read in your code.

Your topic is in the jcl part of the forum. Is there some reason for this?

Once the question/requirement becomes clear, we can move the topic if necessary.

Re: How to read a file when hexa is on

PostPosted: Wed Apr 15, 2009 10:56 am
by pahi
Here imp table reffers to import table records.I want to know which column contains,what value?
Like column 1 to 4 Packed decimal, then how to enter those value manually into that Dsn While using jcl?

Re: How to read a file when hexa is on

PostPosted: Wed Apr 15, 2009 2:00 pm
by dick scherrer
Hello,

You need to do a more thorough job of explaining what it is you are trying to accomplish. . .

When using jcl to write data into a file, it is not manual :? If you want to manually enter values into a dataset, you can use the tso/ispf editor.

If you post what you "have" to be used as input and show what you want as output, someone may have a suggestion.

Re: How to read a file when hexa is on

PostPosted: Thu Apr 16, 2009 11:54 am
by pahi
Hello dick,

Thanks for your suggestion.

Regards,
PAhi

Re: How to read a file when hexa is on

PostPosted: Fri Apr 17, 2009 12:23 am
by dick scherrer
You're welcome :)

Do you have what you need working?

d

Re: How to read a file when hexa is on

PostPosted: Fri Apr 17, 2009 12:42 pm
by pahi
Ya dick, has you suggested i entered the values into a dataset, using the tso/ispf editor.
Thanks.