To create a native COBOL project to hold the JCL demonstration program:
- Create a working folder on your machine such as
c:\tutorials.
- Start
Visual Studio.
- Click
File > New >
Project > COBOL Projects > Native > Mainframe Subsystem Application.
- Specify a name for your project such as
jcl.
- Clear
Create directory for solution.
- Specify your working folder in the
Location field. This is the folder you defined in step 1 above.
- Click
OK.
This creates a
jcl folder in your working folder that holds your solution and project.
- Create a
catalog folder in your project folder —
c:\tutorials\jcl\catalog. Your project folder needs to have this folder created beforehand in order to submit the JCL successfully.
- Right-click the solution in Solution Explorer and choose
Open Folder in Windows Explorer.
- Using Windows Explorer, copy the demonstration files from
%ProgramFiles(x86)%\Micro Focus\Studio Enterprise Edition x.x\Examples\Visual Studio Integration\Tutorials\Mainframe\JCL (default location) to your project folder,
c:\tutorials\jcl.