How to read a file when hexa is on



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

How to read a file when hexa is on

Postby pahi » Tue Apr 14, 2009 3:33 pm

Hello,


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

Regards,
Pahi
pahi
 
Posts: 27
Joined: Wed Apr 01, 2009 3:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to read a file when hexa is on

Postby Bill Dennis » Tue Apr 14, 2009 6:38 pm

When "HEXA IS ON"? What is this and where do you turn it on? Please describe in more detail.
Regards,

Bill Dennis

Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
 
Posts: 278
Joined: Thu May 15, 2008 9:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to read a file when hexa is on

Postby pahi » Wed Apr 15, 2009 10:00 am

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.
pahi
 
Posts: 27
Joined: Wed Apr 01, 2009 3:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to read a file when hexa is on

Postby dick scherrer » Wed Apr 15, 2009 10:18 am

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: How to read a file when hexa is on

Postby pahi » Wed Apr 15, 2009 10:56 am

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?
pahi
 
Posts: 27
Joined: Wed Apr 01, 2009 3:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to read a file when hexa is on

Postby dick scherrer » Wed Apr 15, 2009 2:00 pm

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: How to read a file when hexa is on

Postby pahi » Thu Apr 16, 2009 11:54 am

Hello dick,

Thanks for your suggestion.

Regards,
PAhi
pahi
 
Posts: 27
Joined: Wed Apr 01, 2009 3:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to read a file when hexa is on

Postby dick scherrer » Fri Apr 17, 2009 12:23 am

You're welcome :)

Do you have what you need working?

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: How to read a file when hexa is on

Postby pahi » Fri Apr 17, 2009 12:42 pm

Ya dick, has you suggested i entered the values into a dataset, using the tso/ispf editor.
Thanks.
pahi
 
Posts: 27
Joined: Wed Apr 01, 2009 3:27 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post