ISPF Statistics ver/mod drop leading zeros

General discussion of the Co:Z Toolkit
Post Reply
Lionel
Posts: 5
Joined: Thu Apr 27, 2023 10:42 am

ISPF Statistics ver/mod drop leading zeros

Post by Lionel »

When using getpds -M st=xxxx the ISPF version and modification values are missing the leading zeros which are included when using the ISPF Library LMMLIST service. Having the leading zeros would make comparisons easier.
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: ISPF Statistics ver/mod drop leading zeros

Post by dovetail »

Hi Lionel,

Can you post the line from the statsfile that you get back?
Lionel
Posts: 5
Joined: Thu Apr 27, 2023 10:42 am

Re: ISPF Statistics ver/mod drop leading zeros

Post by Lionel »

Sample

Code: Select all

$$README 21/04/05 23/09/18  1 64 10:19:07   316    18     0 CBT      
$INSTALL 21/04/18 22/04/21  1 37 07:05:32   134     6     0 CBT      
$INSTALP 21/04/18 21/12/28  1  5 06:53:04    44    11     0 CBT      
@FILE043 21/04/16 21/11/10  1 84 08:17:33    54    39     0 CBT      
CBT      21/04/21 23/09/21  1 85 07:10:27  3768  2618     0 LBDYCK   
CBTCONFG 21/04/09 23/08/07  1 13 09:07:18    53    37     0 CBT   
   
and from ISPF:

Code: Select all

$$README 2021/04/05 2023/09/18 01 64 10:19   316    18     0 CBT    
$INSTALL 2021/04/18 2022/04/21 01 37 07:05   134     6     0 CBT    
$INSTALP 2021/04/18 2021/12/28 01 05 06:53    44    11     0 CBT    
CBT      2021/04/21 2023/09/21 01 85 07:10  3768  2618     0 LBDYCK 
CBTCONFG 2021/04/09 2023/08/07 01 13 09:07    53    37     0 CBT   
 
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: ISPF Statistics ver/mod drop leading zeros

Post by dovetail »

Well, the field in the directory is binary, so what you are reporting as a bug is just a difference in how it is printed. I don't think that it is really a "bug", but I also don't see a reason why it should be different. So, we will change it in the next release.

-- Kirk
LIonel_Dyck
Posts: 11
Joined: Thu Jun 25, 2020 9:18 am

Re: ISPF Statistics ver/mod drop leading zeros

Post by LIonel_Dyck »

Thank you
Lionel
Posts: 5
Joined: Thu Apr 27, 2023 10:42 am

Re: ISPF Statistics ver/mod drop leading zeros

Post by Lionel »

Also could you please remove the seconds in the time as the ISPF Library Services does not provide them?

Thank you
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: ISPF Statistics ver/mod drop leading zeros

Post by dovetail »

Sorry, can't do that one.
Post Reply