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

Can i move field1 pic 9(15)v9(4) to field2 pic 9(11)v9(2)


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kanish

New User


Joined: 02 Jan 2006
Posts: 10

PostPosted: Tue Jan 24, 2006 10:54 am
Reply with quote

how can i move field1 pic 9(15)v9(4) to field2 pic 9(11)v9(2)
please write the code
Back to top
View user's profile Send private message
senthils

Active User


Joined: 15 Nov 2005
Posts: 117
Location: Chennai, India

PostPosted: Tue Jan 24, 2006 12:03 pm
Reply with quote

Let the value of fields be

FIELD1 = 1234567890123451234
FIELD2 = 0000000000000

MOVE FIELD1 TO FIELD2

After Move

FIELD1 = 1234567890123451234
FIELD2 = 5678901234512

Hope this helps..
Back to top
View user's profile Send private message
sbalajibe

New User


Joined: 15 Aug 2005
Posts: 62

PostPosted: Tue Jan 24, 2006 12:28 pm
Reply with quote

Hi kanish,

senthil is correct . do u need any specific requirement

thanks
Balaji
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts COBOL - Move S9(11)v9(7) COMP-3 to -(... COBOL Programming 5
No new posts How to move the first field of each r... DFSORT/ICETOOL 5
No new posts How to move DB2 Installation HLQ DB2 4
No new posts How to move values from single dimens... COBOL Programming 1
No new posts Reading the CSV data in COBOL and mov... COBOL Programming 4
Search our Forums:

Back to Top