I just started using PDSEs , found out if I use C with longnames, you have to ..

Scott J Ford
Software Engineer
http://www.identityforge.com/
 
 

________________________________
 From: R.S. <r.skoru...@bremultibank.com.pl>
To: IBM-MAIN@LISTSERV.UA.EDU 
Sent: Thursday, September 19, 2013 9:37 AM
Subject: Re: Allocation test
  

W dniu 2013-09-19 10:33, nitz-...@gmx.net pisze:
> // EXEC PGM=IEFBR14
> //DD1 DD DISP=(,CATLG),DSN=TEST,
> //       SPACE=(TRK,(1,0,0)),RECFM=F,LRECL=20,DSORG=PO


My output:

Organization  . . . : PO
Record format . . . : F
Record length . . . : 20
Block size  . . . . : 20
1st extent tracks . : 10000
Secondary tracks  . : 0
Data set name type  : PDS


Current Allocation
  Allocated tracks  . : 10,000
  Allocated extents . : 1
  Maximum dir. blocks : 0             *


Current Utilization
  Used tracks . . . . : 0
  Used extents  . . . : 0
  Used dir. blocks  . : 0             *
  Number of members . : 0             *


* Information is unavailable.


What's interesting is ISPF/PDF behavior. For allocations Pri>=10000 it always 
display the information as above. For smaller allocations it ends with "I/O 
error" - "An I/O error occurred while reading the PDS directory."

Interesting case:

9000,0 gives I/O error (but more than 1 extent is used)
9000,10 gives no error
9000,0 + CONTIG gives no error
8000,0 + CONTIG gives no error
7000,0 + CONTIG gives no error
6500,0 + CONTIG gives no error
6400,0 + CONTIG gives no error
...
6050,0 + CONTIG gives no error
6025,0 + CONTIG gives no error
6024,0 + CONTIG gives no error
6023,0 + CONTIG gives no error

stop here
6022,0 + CONTIG gives I/O error
6021 and less gives same error as well.


What's magic in 6022/6023 TRK ? I don't know.

Side note: Usually I'm trying to use PDSes with non-zero directory, as 
they are more usable. ;-)))

-- 
Radoslaw Skorupka
Lodz, Poland






--
Tre tej wiadomoci moe zawiera informacje prawnie chronione Banku przeznaczone 
wycznie do uytku subowego adresata. Odbiorc moe by jedynie jej adresat z 
wyczeniem dostpu osób trzecich. Jeeli nie jeste adresatem niniejszej wiadomoci 
lub pracownikiem upowanionym do jej przekazania adresatowi, informujemy, e jej 
rozpowszechnianie, kopiowanie, rozprowadzanie lub inne dziaanie o podobnym 
charakterze jest prawnie zabronione i moe by karalne. Jeeli otrzymae t wiadomo 
omykowo, prosimy niezwocznie zawiadomi nadawc wysyajc odpowied oraz trwale usun 
t wiadomo wczajc w to wszelkie jej kopie wydrukowane lub zapisane na dysku.

This e-mail may contain legally privileged information of the Bank and is 
intended solely for business use of the addressee. This e-mail may only be 
received by the addressee and may not be disclosed to any third parties. If you 
are not the intended addressee of this e-mail or the employee authorised to 
forward it to the addressee, be advised that any dissemination, copying, 
distribution or any other similar activity is legally prohibited and may be 
punishable. If you received this e-mail by mistake please advise the sender 
immediately by using the reply facility in your e-mail software and delete 
permanently this e-mail including any copies of it either printed or saved to 
hard drive. 

BRE Bank SA, 00-950 Warszawa, ul. Senatorska 18, tel. +48 (22) 829 00 00, fax 
+48 (22) 829 00 33, www.brebank.pl, e-mail: i...@brebank.pl
Sd Rejonowy dla m. st. Warszawy XII Wydzia Gospodarczy Krajowego Rejestru 
Sdowego, nr rejestru przedsibiorców KRS 0000025237, NIP: 526-021-50-88. 
Wedug stanu na dzie 01.01.2013 r. kapita zakadowy BRE Banku SA (w caoci 
wpacony) wynosi 168.555.904 zotych.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to