Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to numeric field from PD without sign in DYL?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
raghavendra_p_sarvade

New User


Joined: 17 Oct 2006
Posts: 32

PostPosted: Thu Apr 09, 2009 2:10 pm    Post subject: How to numeric field from PD without sign in DYL?
Reply with quote

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
View user's profile Send private message

Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Fri Apr 10, 2009 3:06 am    Post subject:
Reply with quote

What is "DYL"?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Apr 10, 2009 4:26 am    Post subject:
Reply with quote

Hello,

DYL-280 - now known as CA-Vision (iirc).
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Fri Apr 10, 2009 8:13 am    Post subject:
Reply with quote

I guessed that, but I wish folks wouldn't abbreviate like that.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Apr 10, 2009 8:36 am    Post subject: Reply to: How to numeric field from PD without sign in DYL?
Reply with quote

Hi Terry,

I suspect that not everyone knows that the "name" they've learned is an abbreviation. And not only for this product icon_neutral.gif

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
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Fri Apr 10, 2009 7:00 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Bill Murrell

New User


Joined: 14 Sep 2008
Posts: 10
Location: Oklahoma City, OK

PostPosted: Mon Apr 13, 2009 4:23 am    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Hardcoded negative sign value in output scdinesh SYNCSORT 8 Fri Sep 08, 2017 5:28 am
No new posts Remove leading spaces from numeric field rexx77 SYNCSORT 6 Wed Sep 06, 2017 2:15 am
No new posts JES2 job size field matching Windows ... SRICOBSAS All Other Mainframe Topics 4 Tue Sep 05, 2017 5:49 pm
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm
No new posts Select numeric portion from CHAR data... balaji81_k DB2 6 Sat Aug 19, 2017 1:51 am

Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us