Community in read only mode June 18 & 19
This community will be set in READ ONLY mode for a while on Tuesday June 18 into Wednesday June 19 while we import content and users from our Micro Focus Forums community site. MORE INFORMATION

Working with CA-7 stream files. Problem with parsing ca7 files

Working with CA-7 stream files. Problem with parsing ca7 files


The .ca7 file was not parsing.

The file was created  by performing the suggested command:


in JCL writting the output to a precreated file with an LRECL=133, FBA format.

The file was  FTP. The file with a front command of QUOTE SITE TRAIL to insure that MVS did not truncate trailing blanks and the full 133 byte record got transferred.

File was  loaded into Revovle via the Update Selected option.

This produced a count down timer in seconds that went from 899 to around 700 before the counter dropped to zero.


TheCA-7 stream file is not in the correct format. In order to be processed by Revolve 7.0, the file must be produced with ASCII carriage control characters in column 1. This is described in the documentation. If produced in batch, this can be done with DCB=RECFM=FA or something similar.

There is more info in help on this topic, look up in Revolve help,  Preparing CA-7 Schedules

The CA-7 job schedule information required for Revolve has to be contained in a single LJOB report file. Need to arrange for the report to be generated on the mainframe system and made available as a single file with the extension .ca7.

The report can be generated in the mainframe environment using the LJOB command, specifying LIST=NODD as a parameter.

For use in Revolve, the report needs to be created with the ANSI carriage control characters in column 1. This can be done  by including an A in the RECFM DCB parameter. In JCL, for example, you can specify DCB=RECFM=FBA.

Note the name and location of the file produced for when you import it into the project.


Will see in the attached file that everything in the attached report is shifted one character to the right and that the first column contains the carriage control character -- "1", " ", or "-". The actual data of the report starts in column 2. In attached  example, the report data starts in column 1.

Here is what should be done on the mainframe.

create file with FBA on mainframe.

The ftp utility was stripping off the carriage control.


create file with FBA on mainframe

copy to FB file

ftp FB file to pc


Attached to this article is a sample JCL that will demonstrate how to extract the LJOB information from the CA-7 environment on the mainframe.



Old KB# 1172


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 16:56
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.