View previous topic :: View next topic
|
Author |
Message |
raghavendra_p_sarvade
New User
Joined: 17 Oct 2006 Posts: 32
|
|
|
|
Hello,
Can someone help on how I can move the value in a PD field into Numeric field without the sign in a DYL?
Eg : A is 8 byte PD field. B is 15 byte Numeric field
A = -1234
B should be populated with 1234.
Thanks,
Raghav |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
What is "DYL"? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
DYL-280 - now known as CA-Vision (iirc). |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
I guessed that, but I wish folks wouldn't abbreviate like that. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hi Terry,
I suspect that not everyone knows that the "name" they've learned is an abbreviation. And not only for this product
Makes it even tougher when the product gets "re-branded" and the product name changes - with no reference backward to any previous name(s). . .
d |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
You may not be able to eliminate the sign on the move. Check the EDIT CODEs for FIELD "B" and you may be able to display without the sign. |
|
Back to top |
|
|
Bill Murrell
New User
Joined: 14 Sep 2008 Posts: 10 Location: Oklahoma City, OK
|
|
|
|
Look in your manual for MOVE ZONE and MOVE NUMERIC.
IF you define a hex work field as long as your B field and it looks like this: VALUE X'F0F0F0F0...' then do a MOVE ZONE workfield TO B it will remove the sign.
Check the syntax of the MOVE statement as I am doing this from memory. |
|
Back to top |
|
|
|