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

BIT multiplication


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
donateeye
Warnings : 2

New User


Joined: 01 Jun 2007
Posts: 62
Location: chennai

PostPosted: Mon May 17, 2010 12:45 pm
Reply with quote

What would be the answer here

DCL B BIT INIT '1'B;
DCL C BIT INIT '0'B;
A = B*C

Please let me know what would be the answer, if A is char, and if A is BIT, and also if A is FIX DEC.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon May 17, 2010 12:56 pm
Reply with quote

why don' t You experiment and tell us ?
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Mon May 17, 2010 1:06 pm
Reply with quote

The OP is asking several basic questions. This is a 'help' forum, not a programming class......

G.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Mon May 17, 2010 1:57 pm
Reply with quote

The OP is more and more behaving like a troll...
Back to top
View user's profile Send private message
donateeye
Warnings : 2

New User


Joined: 01 Jun 2007
Posts: 62
Location: chennai

PostPosted: Mon May 17, 2010 2:46 pm
Reply with quote

well... enrico, prino, garry...!!!

I agree that you all know PL/1 very well... great....

Now, I am a learner, I am not working anywhere, so I dont have any mainframe connections, I am preparing for interviews.
I would be grateful if you could reply me. If its really boring, please ignore.

By the way, I could see 'Interview questions' link in this forum, which made to believe me that this site is for me too rathan only to PL/1 researchers.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Mon May 17, 2010 2:50 pm
Reply with quote

PL/I is not a language you can "just learn" from a book. I'd suggest you download the trial of Rational Developer for System z and try it. It contains a full blown PL/I compiler for Windows.
Back to top
View user's profile Send private message
donateeye
Warnings : 2

New User


Joined: 01 Jun 2007
Posts: 62
Location: chennai

PostPosted: Mon May 17, 2010 2:53 pm
Reply with quote

Oh great... thanks for the link. Let me try that out
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon May 17, 2010 3:14 pm
Reply with quote

Quote:
I could see 'Interview questions' link in this forum,

the purpose of the interview forums is to...
clarify doubts on Your answers after the interview
not to reply to Your questions!
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 -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Multiplication in DFSORT DFSORT/ICETOOL 11
No new posts Result of decimal multiplication may ... DB2 2
No new posts Synctool multiplication with zero JCL & VSAM 4
No new posts Multiplication In SQL Query DB2 2
No new posts Merging records & multiplication DFSORT/ICETOOL 2
Search our Forums:

Back to Top