Submit Mainframe Utilities and Development Tools Questions to Computer Education Techniques

Submit Mainframe Utilities and Development Tools Questions to Computer Education Techniques

Submit Mainframe Utilities and Development Tools Questions

Home

Submit Mainframe Utilities
and Development Tools

Technology Update

Knowledge Base


Submit Mainframe Utilities and Development Tools Questions to Computer Education Techniques Advanced search
     

Interrelated Information Technology

COBOL VSAM

The Computer Education Techniques, Inc. knowledge base is a service for answering questions, inclusive of the research and validation of the accuracy of information in the public domain.  Citation of source documentation and examples are used to provide answers to the questions. Utilization of the information of this service and reliance on the answers, information or other materials received through this web site is done at your own risk.

DYL-280
Q Has DYL-280 been updated to interface with PCs?
A There is no version of DYL-280 that will run on a Microsoft Windows environment. However, the newest versions of DYL-280 allow a user to define delimiter characters which can be inserted between each column of a report, and at the beginning and end of the line. This feature is designed for downloading data to a PC. FYI, the new name for DYL-280 is Advantage VISION:Results.
Q Can a COBOL program be called from DYL-280?
A Yes, in the new version of the DYL-280 LE environment the capability exist for calling subroutines in COBOL, C, etc.

Endevor
Q We are trying to determine if Endevor can be used to store our DDL for database creation (a central location for production DDL) I am not sure if there is a way to count the number of lines of one of our databases with the most line of 'code' but a guesstimate would be 100,000+; 70+ partitioned tablespaces w/40 parts, with partitioned indexes and several NPIs, aliases, triggers, table definitions, etc.

Is there a limit for the number of lines in a single Endevor element?

A There is no practical limit imposed by Endevor.

Your system staff may set some limits in the libraries.

Q Can a COBOL program be called from DYL-280?
A Yes, in the new version of the DYL-280 LE environment the capability exist for calling subroutines in COBOL, C, etc.

File-AID
Q I was a student in the File-AID for Programmers class and have a question.

I was trying to do a fprint to my local printer, and I can't get the local print to work. We need to print out single record in the FMT format.

Worse case, we could perform a screen print; however, File-AID would be excellent tool for printing out one record in the required format.

ENTER ONE OF THE FOLLOWING OPTIONAL DESTINATIONS:
DESTINATION PRINTER ===> (LOCAL OR REMOTE PRINTER)
- - - OR - - -
EXTERNAL JES NODE ID ===> (PREDEFINED JES NODE AND SYMBOLIC ID
TARGET VM/TSO IDENT ===> OF INTENDED RECEIVER OF OUTPUT)
- - - OR - - -
SYSOUT WRITER NAME ===> (INSTALLATION ASSIGNED OUTPUT WRITER
- - - OR - - -
(DSORG=PS, RECFM=VBA, LRECL=187)
PRINT DATASET NAME ===>
DISPOSITION ===> OLD (NEW; SHR; MOD; OLD)
VOLUME SERIAL ===>

We entered HA332390 as the printer ID in the destination printer, tried using LOCAL, and a few other things. I also saw the person in charge of the printer, and she couldn't help me.

Do you have any suggestions?

A

In order to use the Print feature, one of the following is required:

1. A printer defined to the mainframe. It would appear likely that the local printer is not defined to the mainframe. A printer ID will need to be selected which is known to the mainframe.
2. Some organizations have a utility for sending a printout to a TCP/IP defined printer. It will be necessary to obtain the IP address of the local printer and use a organization-specific utility to print it. The name of the utility can be obtained from 6-HELP.

It is also possible to submit the batch job and route it to a mainframe defined printer using EJES.

Q I was able to use a "CONTAIN clause" in batch which functioned correctly, but was not able to copy it and have it function correctly on-line. How can I achieve the same result on-line?

Explanation:
According to the File-AID batch reference manual:

The 'CO' for contains is only for online generated selection criteria. Your batch JCL would need to reference that selection PDS and member, and cannot directly code "CO".

For writing in "pure batch" File-AID, you can get the same effect as CO, but the code is not intuitive.

According to Compuware's File-AID batch reference manual:

Scanning Parameters
Use scanning parameters to search for a sequence of characters within a range of locations in a record. The scan length can be any number from 0 (zero) through 255 (excluding 1) as long as it is greater than the length of the data element. If you use 0 (zero), File-AID calculates a scan length from your specified location to the end of the record. Scanning repositions the input relative location pointer when the data value is found. Note: A scanning parameter can test only for an equal (EQ) condition. The data element of a scanning parameter is limited to character or hexadecimal data.

Example 1:
$$DD01 DUMP IF=(22,10,C’CLIPS’)

Example 1 generates a hexadecimal print of any record that contains the character string CLIPS in the scan field between locations 22 and 31.

Example 2:
$$DD01 COPYALL REPL=(6,50,C’TEST’,C’PROD’)

Example 2 copies the input dataset while locating any record that contains the character string TEST in the scan field between locations 6 and 55. When File-AID locates the string TEST, it replaces it with the string PROD.

A Our solution is:

$$DD01 COPY IF=(361,0,C'GOLD',C'CREST',C'BRUNER')

or

$$DD01 COPY IF=(361,180,C'GOLD',C'CREST',C'BRUNER')

Essentially, using a range (in this case 361 to the end or the record, represented by the 0), causes FA to scan for an equal match. Or, change my zero to your length of 180, to limit the scan. The multiple character values separated by commas are "or's". If you had other conditions besides the scanning conditions, use the ORIF or the ANDIF.

Q Will File-AID assist in our transition to Health Insurance Portability and Accountability Act – HIPAA?
A HIPAA rules require that a number of fields in the datasets be reformatted. It is possible to reformat patient information without coding COBOL programs. File-AID has a number of reporting and extraction features for performing data analysis, which will identify which files and databases need to be restructured to accommodate HIPAA requirements.
Q Can File-AID access DB2 tables?
A Yes, File-AID/DB2 can access and create DB2 data without the need for coding SQL. It is also possible to analyze program SQL and trace results within the program logic flow.

Abend-AID
Q I work for a Fortune 1000 company and have a large inventory of legacy COBOL programs; accordingly, I need to learn how to read dumps. Can SYS-ED help me acquire that skill?
A Reading a system dump requires knowledge of system architecture and language control blocks. It can be a time consuming and arduous task. Most large mainframe shops use Compuware’s Abend-AID for both diagnosing and resolving application and system failures.

In the SYS-ED Abend-AID course, we teach the common Abend-AID dumps and examine each section of the Abend-AID report. and parts, diagnose the problem and determine the solutions.

Q Does Abend-AID support DB2?
A Yes, Abend-AID does support DB2. SYS-ED’s Abend-AID course teaches the DB2 components and pitfalls with debugging DB2 applications.

More specifically, faults are the unexpected conditions or exceptions that cause applications to fail. When a DB2 application fails in production, Abend-AID will analyze reason and SQL return codes along with the captured information to recommend corrective action.


Xpediter
Q What languages are supported by Xpediter?
A Xpediter supports COBOL, Assembler, C and PL/1. The courses offered through our New York schedule teach COBOL. Private courses at the client location can be taught using any of the programming languages.
Q When SYS-ED teaches techniques for compiling COBOL with Xpediter; will shop standards also be covered?
A The courses offered through our New York schedule present and demonstrate standards common to large z/OS COBOL installations.

SYS-ED has the flexibility and resources to teach private courses for as few as three individuals from a company. For these courses, our Curriculum Managers will review the standards and procedures with the client in order to determine the best way to create the DDIO dataset, compile programs, execute the test program in batch, and use the Batch Connect feature.


CA-InterTest
Q Is it necessary to memorize all the CA-InterTest commands?
A SYS-ED’s CA-InterTest course teaches the product using the ISPF menus and screens and command prompts. The ISPF screens allow a programmer to test and debug programs using basic and advanced features of CA-InterTest. The command prompt commands are an efficient way to utilize advanced techniques. And don’t forget to download SYS-ED’s reference cards. By the way, all of our instructors have committed all the CA-InterTest commands to memory!
Q The company that I work for is just beginning to work with CICS web applications. Does CA-InterTest support web applications?
A CA-InterTest can be used to interactively debug CICS web applications. SYS-ED’s CA-InterTest course teaches request breakpoints which readily halt execution of web applications which access CICS. This affords a programmer the opportunity to perform all the CICS debugging activities.

Download Restricted Enrollment Schedule