IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to convert a field into readable format after move


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
PRV

New User


Joined: 16 Apr 2009
Posts: 15
Location: Pune

PostPosted: Tue Apr 28, 2009 3:53 pm
Reply with quote

I have AMT 18 5 P 2 field in input fle.
and I am moving this field into OAMT 38 8 N 2.

but after movement I got this filed in output file as 0082012Q ..

I think Q stands for -2..

How to convert this field into readable format..
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Apr 28, 2009 5:22 pm
Reply with quote

PRV wrote:
I think Q stands for -2..
I do not use Easytrive but
Code:
Q= -8
not -2.

PS.
Code:
-2 = K
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Apr 28, 2009 5:24 pm
Reply with quote

PRV wrote:
How to convert this field into readable format..
A mask?
What does your manual say?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Apr 28, 2009 5:26 pm
Reply with quote

A little search says: You can use edit mask; something like (change per your need tjough). . .
Code:
AMT 18 5 P 2  MASK '999999999 . . .'
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Apr 28, 2009 5:28 pm
Reply with quote

oh CG you beat me to it.....grin...but I was searching and you already knew it . . . icon_smile.gif

Ad
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts Keep leading zero(s) after convert fl... SYNCSORT 7
Search our Forums:

Back to Top