IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

About assembler MVC instruction error

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> PL/I & ASSEMBLER
View previous topic :: View next topic  
Author Message
vice_versa



Joined: 26 Feb 2006
Posts: 11

Posted: Sat May 13, 2006 2:41 pm    Post subject: About assembler MVC instruction error  

I want to move a array from arr to MVALUE1
But the form like MVC MVALUE1,ARR can't move
moreover MVC MVALUE1(44),ARR is ok
why
any help would be appreciated
thanks

MVC MVALUE1,ARR
MVC MVALUE1(44),ARR
ARR DS 11F'0'
MVALUE1 DS 11F
Back to top  
jon_s_rice



Joined: 24 Mar 2005
Posts: 106
Location: Douglasville, GA USA

Posted: Sat May 13, 2006 6:27 pm    Post subject:  

The MVC without the length override takes the length from the destination operand which in this case is four since it is a length of 4 repeated 11 times.
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> PL/I & ASSEMBLER
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM