Previous Page Contents Page Next Page

2.4 Input Processing

This section explains how jobs are submitted to an RJE workstation and the options that are available for submitting different types of job files.

2.4.1 Accessing the Job Spool

A job spool exists for each SNAP-IX RJE workstation. The spool is created the first time the workstation is run or the first time a job is submitted. When you submit a job, it is added to the spool for that RJE workstation; the workstation then takes jobs from the spool and sends them to the host for processing.

You can access the job spool directly using the following spool commands:

snajobsub

This command submits a job file for processing.

Sample command: snajobsub wks1 myjob

snajoblst

This command lists all the jobs on the spool for a particular workstation-all jobs that have been submitted to that workstation but have not yet been successfully sent to the host.

Sample command: snajoblst wks1

snajobcan

This command cancels a job from the spool.

Sample command: snajobcan wks1 SPL_fjghld

These commands can be used at any time while the SNAP-IX software is running, whether or not the RJE workstation is running. The spool is maintained independently of the workstation itself.

When the RJE workstation runs, it also accesses the job spool. If any jobs are spooled, the workstation sends them to the host for processing, in the order in which they were spooled.

Once the workstation has successfully sent a job to the host, it removes this job from the spool. You can now use the RJE console program to view messages from the host relating to the job, and to issue host commands if necessary. The console program can be used at any time while the SNAP-IX software is running. For more information, see RJE Console Program, and RJE Console Program.

2.4.2 Record Lengths and Exchange Data

Host job entry subsystems normally handle data as punch data-in 80-byte data records, as it would be read from standard 80-column punched cards. Some host systems can also handle exchange data, which would be read from other types of input device and is normally in 128-byte data records. In addition, some host systems can accept either punch data or exchange data with record lengths other than these defaults.

SNAP-IX provides command-line options on the snajobsub command to specify whether the submitted data is punch data or exchange data and to override the default record lengths. When submitting jobs, use the option on the snajobsub command to indicate that exchange data is being submitted and the option to indicate the record length.

For example:

snajobsub wkst myjob

sends the file myjob as punch data with the default record length of 80 bytes to the RJE workstation, wkst.

snajobsub -e wkst myjob

sends the file myjob as exchange data with the default record length of 128 bytes to the RJE workstation, wkst.

snajobsub -m100 wkst myjob

sends the file myjob as punch data with a record length of 100 bytes to the RJE workstation, wkst.

For more information, see Submitting a Job.

2.4.3 Text or Binary Files

Most jobs submitted to RJE are text files in ASCII. By default, SNAP-IX RJE converts the supplied data into EBCDIC before sending it to the host, so that it can be accessed using a host editor. For details of the translation table used for this conversion, see Code Conversion Table.

If you are submitting binary data to the host, you need to send the data without code conversion. To do this, put the binary data into a separate file, and include this file within the main job file using the ~include -b command (for more information, see Contents of a Job File). In this case, the JCL in the main job file is code-converted so that the host can use it, but the included file is sent as binary data.

SNAP-IX divides the supplied data into records in different ways for text and binary data, as follows:

2.4.4 Compression

The configuration of an RJE workstation specifies whether job files submitted to this workstation are to be compressed for transfer to the host. Compression can improve the overall processing time for a job if you are sending large files containing sequences of repeated characters. More than four of the same character (including the space or null characters) in succession is considered a sequence of repeated characters.

The use of compression depends on whether the host supports it; check with your host personnel if necessary. If the host configuration supports compression, you can use the RJE workstation style file to specify whether to use it (see The RJE Workstation Style File, for a description of the style file). Do not specify compression if the host configuration does not support it.

(This option does not affect output received from the host; SNAP-IX always accepts either compressed or uncompressed files sent from the host.)

Previous Page Contents Page Top of Page Next page