Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

What is L'VAR1 in MVC OUTREC(L'VAR1),VAR1 Assembler code

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
aravindanrkumar
Warnings : 1

New User


Joined: 03 Jan 2007
Posts: 11
Location: Chennai

PostPosted: Thu Mar 01, 2007 5:53 pm    Post subject: What is L'VAR1 in MVC OUTREC(L'VAR1),VAR1 Assembler code
Reply with quote

What does the following statement do?

MVC OUTREC(L'VAR1),VAR1
.
.
.
.
VAR1 DC C'ABCDABCDABCDABCD'
OUTREC DS CL80

I need clarification for L'VAR1 in particular

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

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Thu Mar 01, 2007 6:18 pm    Post subject: Re: Help with assembler statement
Reply with quote

aravindanrkumar wrote:
What does the following statement do?
MVC OUTREC(L'VAR1),VAR1
.
VAR1 DC C'ABCDABCDABCDABCD'
OUTREC DS CL80
I need clarification for L'VAR1 in particular

MVC is move character
OUTREC is the receiving field
VAR1 is the sending field
L'VAR1 is the length of VAR1
Without the (L'VAR1) the receiving field's length would be used for the move.

Does that help?
Back to top
View user's profile Send private message
aravindanrkumar
Warnings : 1

New User


Joined: 03 Jan 2007
Posts: 11
Location: Chennai

PostPosted: Thu Mar 01, 2007 6:46 pm    Post subject: Re: Help with assembler statement
Reply with quote

Yes it does. Thanks once again.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts MAX-RC 88 and Return code 606 in DFH0... lind sh CICS 0 Tue Jan 24, 2017 1:23 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts A not very Christmassy PL/I tale, wit... prino PL/I & Assembler 3 Mon Dec 26, 2016 1:01 am
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us