Prepare Object-type Files for Transferring
Object-type code members with suffixes .FRM, .FNT, .JDL, .IMG are considered 'LPS-tape labeled type' and requires that the first record of the member be a special DJDE instruction record called a 'label record'.
All records following the first label-record must be editted to include a special character in column 129.
The data within this type of file is coded in binary and will not be readable as normal text.
Object-type files must be originally uploaded into a PDS with LRECL=128, then copied to a member on a PDS with an LRECL=129.
See Upload new/revised laser printer code member.
Using TSO to COPY the member to a PDS with LRECL=129
- Sign onto TSO.
- Select option P for PDF (ISPF/program development facility).
- Select 3 - Utilities.
- Select 3 - Move/Copy.
- Select C to copy a member, and tab down to bottom section of the screen to enter the source PDS library name plus the member name within parenthesis ( ), and with single-quote marks ' ' around the whole line, such as:
'Z01AF.DEV.OBXXX128(MEMNAME)'
Then press <enter>.
- The next screen will show your COPY command at the top. Tab down to the middle section of the screen and enter the target 'PDS (member)' name.
'Z01AF.TRSF.OBXXX129(MEMNAME)'
Press <enter> and look in the top, right-hand corner of the screen for a message concerning the success of the copy.
Top
EDIT the 129-length member
EDIT the 129-length member, in TSO ISPF, to put an asterisk '*' in column 129 of EVERY data record, and then create the first label-record.
- Sign onto TSO.
- Select option P for PDF (ISPF/program development facility).
- Select 2 to create or change source data.
- Tab to the middle section of the screen, under "Other Partitioned or Sequential Data Set:" and enter the name of the PDS and the member which contains the object code that needs to be modified. (Be sure to use single-quote marks around the PDS name.
'Z01AF.TRSF.OBXXX129(MEMNAME)'
- Use the line edit command i on the first line of ****** (top, left) to insert a record.
- Space over on the new line to column 129 and key an * there.
- Use the line edit command c on this same new line to set it up for the COPY/OVERLAY function to all records in the member.
- Then use the line edit command oo (lower-case alpha o) on the original first record of the object code AND on the last record of the object code. When you press <enter>, the overlay command will execute and copy the * in column 129 into all the records, without disturbing the existing record data.
- Now, return to the top of the member and use the i insert line command at the first ***** line to insert a new, first record.
- To create the LABEL-RECORD, Go to column 1 of the new, first record and key the following:
$$DJDE FILE=(),END;
- PF3 to back-out with a SAVE of the member changes. Type CANCEL at the home command line if you do NOT want to SAVE.
Top