• File Size calculation

    From Ashwin A@21:1/5 to All on Thu Nov 18 02:39:15 2021
    Hi All,

    I am writing a program in TAL which would require to get me the file size (for both structured and unstructured). Is there any GPC or any calculation where we can get file size?

    In the below example I need the value 7116 (EOF) in the code. Can somebody please help me?

    $GUEST.ERNIE.ABCD
    ENSCRIBE
    TYPE U
    CODE 100
    FORMAT 1
    EXT ( 4 PAGES, 2 PAGES )
    ODDUNSTR
    MAXEXTENTS 16
    BUFFERSIZE 4096
    BUFFERED
    OWNER 64,5
    SECURITY (RWEP): UUUU
    DATA MODIF: 28 Jun 2000, 15:34
    CREATION DATE: 28 Jun 2000, 15:34
    LAST OPEN: 28 Jun 2000, 16:00
    EOF 7116 (10.2% USED)
    FILE LABEL: 214 (5.2 % USED)
    EXTENTS ALLOCATED: 1

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Randall@21:1/5 to ash11...@gmail.com on Thu Nov 18 08:21:21 2021
    On Thursday, November 18, 2021 at 5:39:16 a.m. UTC-5, ash11...@gmail.com wrote:
    Hi All,

    I am writing a program in TAL which would require to get me the file size (for both structured and unstructured). Is there any GPC or any calculation where we can get file size?

    In the below example I need the value 7116 (EOF) in the code. Can somebody please help me?

    $GUEST.ERNIE.ABCD
    ENSCRIBE
    TYPE U
    CODE 100
    FORMAT 1
    EXT ( 4 PAGES, 2 PAGES )
    ODDUNSTR
    MAXEXTENTS 16
    BUFFERSIZE 4096
    BUFFERED
    OWNER 64,5
    SECURITY (RWEP): UUUU
    DATA MODIF: 28 Jun 2000, 15:34
    CREATION DATE: 28 Jun 2000, 15:34
    LAST OPEN: 28 Jun 2000, 16:00
    EOF 7116 (10.2% USED)
    FILE LABEL: 214 (5.2 % USED)
    EXTENTS ALLOCATED: 1

    FILE_GETINFOLISTBYNAME_ should give you all the information you might need. Regards,
    Randall

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)