Visual Studio creates partial classes in COBOL to give programmatic access to WPF and WCF user interfaces. These partial classes are auto-generated and can then be updated by you or Visual Studio.
In the following example:
If PicLen.cbl is previously existing code or is a new hand-entered source file, it is not encoded using the platform default code page. For example, in the United Kingdom this is code page 1252, or on a Japanese locale machine, it is most likely the Shift-JIS code page 932.
call "PicLen" using stuff lStuff
Calling one code page from another is not supported directly. When the application runs, it might fail under some conditions, due to corrupt PICTURE clause data items.