MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Moving values to comp-3

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
Devi
Beginner


Joined: 29 Oct 2004
Posts: 6
Topics: 3
Location: chennai

PostPosted: Wed Jun 15, 2005 4:49 am    Post subject: Moving values to comp-3 Reply with quote

hi
whille preparing test cases, how can i give test case for comp-3 item.

suppose, item declared as s9(4)v9(2) comp-3
if i want to give 63.34 as input(test case), then can i give just 63.34 ?

plz help me.
_________________
"A faithful friend is the medicine of life."
Back to top
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Jun 15, 2005 5:29 am    Post subject: Reply with quote

Devi,

you can simply code
Code:

01 WS-COMP3      PIC S9(04)V9(02) COMP-3.

MOVE 63.64 TO WS-COMP-3


To move negative values

Code:

MOVE -63.64 TO WS-COMP-3


Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group