View previous topic :: View next topic
|
Author |
Message |
premnath
New User
Joined: 08 Jan 2006 Posts: 15
|
|
|
|
I have a four digit variable which is numeric (pic 9(4))..whatever value i get
here i need to write to a hexadecimal file up and down .Below is example
Value of numeric variable WS-SEQ-NO = 0001 ==> Numeric variable (pic 9(4))
in Output file it should write as
.it should look like below in file .
Then i will increment variable WS-SEQ-NO value by 1
Code: |
"ADD 1 TO WS-SEQ-NO " |
Now value of numeric variable WS-SEQ-NO = 0002
Now it should become
and in my hexadecimal file it should
display as
Can any one provide a solution to this ?? |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Yes. How much are you willing to pay?
What is a 'hexadecimal file'? Looks like you need an output sequential dataset with 2 lines for each line of input. |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3048 Location: NYC,USA
|
|
|
|
Use DFSORT or SYNCSORT , please google or search this forum how to convert ZD to PD using it and you will get hundreds of links. Give it a try yourself, it’s simple. |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2012 Location: USA
|
|
|
|
Again: it all sounds like a new task being given by a manager to his employees (or slaves?) at this forum.
And again: the task itself has the level of a test question for a first grade student... |
|
Back to top |
|
|
premnath
New User
Joined: 08 Jan 2006 Posts: 15
|
|
|
|
Looks like this forum here is currently used to post their review comments /opinions on individuals who trying to clarify their technical questions .could see Lack of maturity in few replies. Kindly use your technical skills positively by throwing light for people who need guidance or clarification. Mere Criticizing of Individuals never going to market yourself as technically strong neither as matured professional .If you see question is not relevant ,could criticize the question, not individuals or his level of knowledge .By doing so you are exposing your negativity in public forum . |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
And the way you posed your question makes it appear as though you want us to do your work whereas you need to do the work and if you have a problem then you explain it along with the code that you have already developed. |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2012 Location: USA
|
|
|
|
premnath wrote: |
Looks like this forum here is currently used to post their review comments /opinions on individuals who trying to clarify their technical questions .could see Lack of maturity in few replies. Kindly use your technical skills positively by throwing light for people who need guidance or clarification. Mere Criticizing of Individuals never going to market yourself as technically strong neither as matured professional .If you see question is not relevant ,could criticize the question, not individuals or his level of knowledge .By doing so you are exposing your negativity in public forum . |
Your style of questioning is like this:
Quote: |
I have a requirement to do this and this... (Assumed: I have not a minor idea what it is, and how to deal with all this stuff)
Please, give me possible solution (Assumed: put here your solution with minimum discussions, for me to copy-and-paste your code into my project, and to report to my manager) |
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
looks like everybody around is suffering from hemorroids
imagine what will happen after all the unhealthy eating in the festivities |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3048 Location: NYC,USA
|
|
|
|
Locking the post. This is not going anywhere. Try DFSORT or SYNCSORT as suggested or use COMP-3 in COBOL on the way out when you write. |
|
Back to top |
|
|
|