Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
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
 
Can we 'MOVE' simple decimal to packed decimal?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
avadhoot

New User


Joined: 22 Jan 2007
Posts: 3
Location: Mumbai

PostPosted: Wed Jan 24, 2007 4:38 pm    Post subject: Can we 'MOVE' simple decimal to packed decimal?
Reply with quote

Can we pass a simple decimal value to a packed decimal format with the help of MOVE statement?

Can we move CHAR to decimal with the help of MOVE? If not whats the process to move it?

Thanks,
regards,
Avadhoot
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Wed Jan 24, 2007 4:48 pm    Post subject: Re: Can we 'MOVE' simple decimal to packed decimal?
Reply with quote

avadhoot wrote:
Can we pass a simple decimal value to a packed decimal format with the help of MOVE statement?

Can we move CHAR to decimal with the help of MOVE? If not whats the process to move it?
Yes, quoting the Fine Manual:
Quote:
An elementary move is one in which the receiving item is an elementary item, and the sending item is an elementary item or a literal. Any necessary conversion of data from one form of internal representation to another takes place during the move, along with any specified editing in, or de-editing implied by, the receiving item.
Back to top
View user's profile Send private message
avadhoot

New User


Joined: 22 Jan 2007
Posts: 3
Location: Mumbai

PostPosted: Wed Jan 24, 2007 4:54 pm    Post subject: Thanks a lot
Reply with quote

Thanks a lot for a quick reply,

Needed a YES/NO kind of anwer so that I can go ahead with coding...

Thank you again,

Avadhoot Jathar
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How can I convert charactor to fixed ... liying DFSORT/ICETOOL 7 Tue May 22, 2018 3:35 pm
No new posts How to group and sum the decimal value sakrat DFSORT/ICETOOL 2 Tue Mar 06, 2018 9:13 pm
No new posts RMM Cannot move a volume from SHELF l... tspr52 IBM Tools 0 Thu Mar 01, 2018 3:48 pm
No new posts how can i move s9(9) to s9(9) usage comp HARENDRA CHOUDHARY COBOL Programming 3 Mon Nov 06, 2017 12:10 am
No new posts Move from Comp3 variable to Edited Va... Revathy.nair0485 COBOL Programming 7 Fri Nov 03, 2017 3:30 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us