VC_COPY Examples

LANSA for i

VC_COPY Examples

Some examples of VC_COPY commands follow.

Example 1:

To specify that a code block contained in a source member called CUSMSTVIRI in source file QRPGSRC be copied in as virtual code, the following would be input as virtual field derivation code of type "Data Structure Specifications":

I*

I* VC_COPY SRCFILE(QRPGSRC) SRCMBR(CUSMSTVIRI)

I*

 

Example 2:

To specify that a code block contained in a source member called DATER001 in source file QVIRSRC be copied in as virtual code, the following would be input as virtual field derivation code of type "Internal Subroutines":

C*

C* VC_COPY SRCFILE(QVIRSRC) SRCMBR(DATER001)

C*