View previous topic :: View next topic
|
Author |
Message |
Kamlesh Kamal
New User
Joined: 16 May 2008 Posts: 36 Location: Kolkata,India
|
|
|
|
Hi ,
I am getting values in my report file as . . AND . . MUT FUND my requirement is to supress these.
Like for . . I should have spaces and for . .MUT FUND I should get only MUT FUND
I have tried checking for NULL VALUES ,LOW AND HIGH VALUES but that didn't work.The hex equivalent for the first byte is 00 and for the second is 1E(which measns a record separator in CHAR)
Can anyone tell me how can I suppress it?The value is as under
PROD TYP CD
.. should be spaces here
.. should be spaces here
..MUT FUND should be MUT FUND here like below
MUT FUND
Please note that these are not NULL values as I said first DOT is 10 in hex and second one is 1E in hex.. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
what application generates the dataset ?? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Kamlesh, let's go over some of the "rules" for posting in the "Interview Questions" forum:
1. You need to post both the question that was asked and the answer you gave, and the reason you think that your answer is the right one. A forum member can tell you if they think you were right or if you were wrong and if so, why.
2. We need to know the scope of the question. What is it concerning (a specific language, a specific process, a specific technology, etc.). What level of a position is the question supposed to be for (beginner, intermediate, expert)?
Thanks for your cooperation. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
there is no such thing...................... |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
I am getting values in my report file as . . AND . . MUT FUND my requirement is to supress these.
Like for . . I should have spaces and for . .MUT FUND I should get only MUT FUND |
from the posting style does not look like an interview question
let's wait for the TS to clarify the issue |
|
Back to top |
|
|
Kamlesh Kamal
New User
Joined: 16 May 2008 Posts: 36 Location: Kolkata,India
|
|
|
|
Sorry for the confusion..
It was not an interview question really..it was the problem I was facing during my cobol programming which genarates a file reading a table and I am getting those invalid chars in one of my fields of the file..i have posted the same query under the mainframes cobol index now...
Once again sorry for the confusion.. |
|
Back to top |
|
|
|