Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 IBEGENER RETURN CODE 12 anilkumar922 All Other Mainframe Topics 5 Wed Dec 13, 2017 11:41 am
No new posts Finding the plan when code compiled u... Ahemad DB2 1 Fri Dec 01, 2017 6:38 pm
No new posts Strange Code amitc23 COBOL Programming 6 Tue Nov 28, 2017 11:25 am
No new posts OUTREC with ALter Command scorp_rahul23 DFSORT/ICETOOL 1 Wed Nov 22, 2017 3:10 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us