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 JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts outrec field outside range Danielle.Filteau SYNCSORT 10 Sat Mar 04, 2017 2:37 am
No new posts CA Workload Automation event code help vinu78 CA Products 10 Wed Mar 01, 2017 10:05 am
No new posts MAX-RC 88 and Return code 606 in DFH0... lind sh CICS 2 Tue Jan 24, 2017 1:23 pm


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