× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I'm using the outfile for DSPTAP DATA(*LABELS). There are 3 fields that contain the various labels, 1 for volume and 2 for file information. Does anyone know the exact templates for these fileds? I can reverse-engineer some of it from the spooled file output.

Reason for this is to avoid release dependency, as the layout of the outfile seems to be fairly consistent.

Here's what I have so far. One concern is that sequence numbers are reported out to ten digits in V5R2, and how are file sequence numbers > 9999 expressed? BTW, these'll probably wrap to an ugly form. - Supposed to be 80-character lines.

VOL1VOLXXX0 VERNHAMBERGXXX

....|....1....|....2....|....3....|....4....|....5....|....6....|....7....|....8

 1- 4 Marker
 5-10 Volume ID
11-11 ???
12-37 ???
38-51 Owner ID
52-80 ???

EOF1QFILEIML TAP001000100010001000031089999990002161IBMOS400

....|....1....|....2....|....3....|....4....|....5....|....6....|....7....|....8

1- 4 Marker -- EOF1 = LAST or only volume / HDR1 = CONT (multi-volume)
5-21 Data file label
22-27 Volume ID
28-31 Volume sequence number
32-35 File sequence number
36-41 ???
42-47 Date created -- Julian
48-53 Expiration date -- 999999 or ' 99999' = *PERM / 000001 or ' 00001' = *NONE
54-60 File length
61-68 System where created
69-80 ???


EOF2U3276000000 0 0000032760
....|....1....|....2....|....3....|....4....|....5....|....6....|....7....|....8


 1- 4 Marker -- EOF2 = LAST or only volume / HDR2 = CONT (multi-volume)
 5- 5 Record block format
 6-10 Block length
11-15 Record length
16-16 ???
17-17 ???
18-70 ???
71-75 ???
76-80 Block length (?)

TIA

Vern



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.