I have a 2 fields in a file as below
WS-DBLPK 1 2 P 0
WS-DBLK 3 4 B
which I want to move into out file of 2 fields one is 3 bytes and 9 bytes of numeric .So that when the move happened I can go to the file and read them.I am doing a st move but it is not working.Pl help
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
Quote:
it is not working.
What is happening? Abend, wrong results, no results, ...
How are your output fields defined?
Could you go into edit on the input file turn hex on and show us some of the input. Do the same on the output file.
We are willing to help, but we need more information in order to help you.
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
"Move" does a character move (no type conversion).
"Assignment '=' evaluates the expression and assigns the value, including type conversion if needed.
Usually the assignment operator will do what you want and "Move" is not needed.