|
|||||
|
This document describes how to add data files to a Net Express project. This is a three step process.
| 1. | Start Net Express, select Project Properties. |
| 2. | Select the IDE, Map to External Name. |
| 3. | Define Environment Variables for Data Files |
Note: This module is part of The SimoPATH Series of training and reference materials. For more information refer to The Home Page for The SimoPATH Series.
The following describes how to add data files to a Net Express project.
The first task is to configure the project to use a directive to map program file names to external file names.
| 1.1 | From the Net Express tool bar select the "Project" option. |
| 1.2 | From the drop-down list select the "Properties..." option. |
The following window should be displayed.
| 2.1 | In the Project directives pane add the ASSIGN(EXTERNAL) directive before the semi-colon. |
| 2.2 | Click on the "IDE" button. |
The following Window should be displayed.
| 3.1 | In the "Variable;" box type in the variable name
"ITMGETDE" is used for the input file and "ITMPUTDA" is used for
the output file. Note: This is the name of the file that is used by the COBOL program |
| 3.2 | In the "Value:" box type in the drive\irectory\name.ext of the
name of the file as it resides on disk. For this example use the
following. "c:\DataMig1\DataEbc1\ITEMEBC1.DAT" is the EBCDIC-encoded input file. "c:\DataMig1\DataAsc1\ITEMASC1.DAT" is the ASCII-encoded output file. |
| 3.3 | Click on the "Set" button. This is very important to do. If the "OK" button is clicked without first clicking the "Set" button the information in the "Variable" box and the "Value" box will not be applied. The information must be displayed in the list of environment variables as shown in step 3.4. |
| 3.4 | Make sure the variable name and value appear in the larger window
pane. Note: Repeat steps 3.1 through 3.4 for both the input and output file. |
| 3.5 | Click on the "OK" button to return to the previous screen. |
The files have now been mapped to their external names using the ASSIGN(EXTERNAL) directive and setting an environment variable for each file.
The purpose of this document is to define the location of COBOL copy files to a Net Express project.
Permission to use, copy, modify and distribute this software, documentation or training material for any purpose requires a fee to be paid to SimoTime Enterprises. Once the fee is received by SimoTime the latest version of the software, documentation or training material will be delivered and a license will be granted for use within an enterprise, provided the SimoTime copyright notice appear on all copies of the software. The SimoTime name or Logo may not be used in any advertising or publicity pertaining to the use of the software without the written permission of SimoTime Enterprises.
SimoTime Enterprises makes no warranty or representations about the suitability of the software, documentation or learning material for any purpose. It is provided "AS IS" without any express or implied warranty, including the implied warranties of merchantability, fitness for a particular purpose and non-infringement. SimoTime Enterprises shall not be liable for any direct, indirect, special or consequential damages resulting from the loss of use, data or projects, whether in an action of contract or tort, arising out of or in connection with the use or performance of this software, documentation or training material.
The Home Page for The SimoPATH Series is the starting point to view information about training sessions and learning materials available from SimoTime Enterprises.
The SimoZAPS Utility Program has the capability of generating a COBOL program that will do the conversion of sequential and VSAM (KSDS) files between EBCDIC and ASCII. SimoZAPS can also read a sequential file in EBCDIC format and create an ASCII/CRLF file or VSAM KSDS file in ASCII format. The conversion tables may be viewed or modified to meet unique requirements. The Hexcess/2 function provides the capability of viewing, finding or patching the contents of a file in hexadecimal.
The SimoREC1 Utility Program has the capability of generating a callable COBOL program that will do the conversion of a data string between EBCDIC and ASCII. The generated COBOL source code or the conversion tables may be viewed or modified to meet unique requirements. The generated program may be called by an I/O program generated by SimoZAPS.
This item will provide a link to an ASCII or EBCDIC translation table. A column for decimal, hexadecimal and binary is also included.
Check out The VSAM - QSAM Connection for more examples of mainframe VSAM and QSAM accessing techniques and sample code.
This document provides a quick summary of the File Status Key for VSAM data sets and QSAM files.
Check out The SimoTime Library for a wide range of topics for Programmers, Project Managers and Software Developers.
To review all the information available on this site start at The SimoTime Home Page .
Check out The SimoTime Glossary for a list of terms and definitions used in the documents provided by SimoTime.
If you have any questions, suggestions or comments please call or send an e-mail to: helpdesk@simotime.com
We appreciate your comments and feedback.
Founded in 1987, SimoTime Enterprises is a privately owned, Limited Liability Corporation located in Novato, California. We specialize in the creation and deployment of business applications using new or existing technologies and services. We have a team of individuals that understand the broad range of technologies being used in today's environments. This includes the smallest thin client using the Internet and the very large mainframe systems. There is more to making the Internet work for your company's business than just having a nice looking WEB site. It is about combining the latest technologies and existing technologies with practical business experience. It's about the business of doing business and looking good in the process. Quite often, to reach larger markets or provide a higher level of service to existing customers it requires the newer Internet technologies to work in a complementary manner with existing corporate mainframe systems. Whether you want to use the Internet to expand into new market segments or as a delivery vehicle for existing business functions simply give us a call or check the web site at http://www.simotime.com
| Return-to-Top |
| Copyright © 1987-2007 SimoTime Enterprises, LLC All Rights Reserved |
| When technology complements business |
| http://www.simotime.com |
| Version 06.01.17 |