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 Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts Dump analysis of an assembler module monica1 PL/I & Assembler 4 Tue May 09, 2017 10:05 am
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm


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