View previous topic :: View next topic
|
Author |
Message |
aravindanrkumar Warnings : 1 New User
Joined: 03 Jan 2007 Posts: 11 Location: Chennai
|
|
|
|
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 |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
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 |
|
|
aravindanrkumar Warnings : 1 New User
Joined: 03 Jan 2007 Posts: 11 Location: Chennai
|
|
|
|
Yes it does. Thanks once again. |
|
Back to top |
|
|
|