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

Moving 9(4) to s9(4) comp


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

New User


Joined: 16 Jun 2005
Posts: 63

PostPosted: Sat Oct 07, 2006 4:33 pm
Reply with quote

Hi all,

Is it possible to move 9(4) to s9(4) comp. If so.. Please respond me soon.

Thanks in advance
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Sat Oct 07, 2006 6:37 pm
Reply with quote

Hi,

Yes u can move it.
Back to top
View user's profile Send private message
Mr.Niceguy

New User


Joined: 16 Jun 2005
Posts: 63

PostPosted: Sat Oct 07, 2006 7:01 pm
Reply with quote

Yes Thanks,

But Can you Please tell me how to move a variable having 9(4) to another DCLGEN variable having SMALLINT by host variable. Can we move it directly?
I tried it throws some error..

Thanks in advance
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Oct 08, 2006 12:05 am
Reply with quote

What error?

You begin your discussion with
Quote:
Is it possible to move 9(4) to s9(4) comp. If so.. Please respond me soon.
When you get your ans you reply with
Quote:
But Can you Please tell me how to move a variable having 9(4) to another DCLGEN variable having SMALLINT by host variable. Can we move it directly?
I tried it throws some error..
Please take the time to FULLY explain your problem so that you don't waste the time of those trying to help you. It's the kind of thing someone would expect from a "Mr.Niceguy".

Thank you.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Sun Oct 08, 2006 7:23 pm
Reply with quote

Also, this doesn't sound like COBOL:
Quote:
another DCLGEN variable having SMALLINT by host variable

Am I missing something?
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 Moving Or setting POINTER to another ... COBOL Programming 2
No new posts Converting ASCII values to COMP-3 (ZD... JCL & VSAM 2
No new posts Interviewers are surprised with my an... Mainframe Interview Questions 6
No new posts Cobol COMP-2 fields getting scrambled... Java & MQSeries 6
Search our Forums:

Back to Top