Is this the correct syntax/values to create an EDIT file during runtime? It's still being created as Entery Sequence.
ENTER TAL CREATE USING TAL-FILE-NAME,
WS-FILE-PRIMARY-EXTENT,
101,
WS-FILE-SECONDARY-EXTENT,
2,
OMITTED,
WS-FILE-BLOCK-LENGTH
OMITTED
OMITTED
OMITTED
WS-FILE-MAXEXTENTS
OMITTED
OMITTED.
$ACCT.POST.POS00033 7 Apr 2022, 13:57
ENSCRIBE
TYPE E
FORMAT 1
EXT ( 4 PAGES, 20 PAGES )
REC 375
BLOCK 4096
MAXEXTENTS 16
OWNER 255,16
SECURITY (RWEP): NNNN
DATA MODIF: 7 Apr 2022, 13:46
CREATION DATE: 7 Apr 2022, 13:46
LAST OPEN: 7 Apr 2022, 13:46
FILE LABEL: 150 (3.6% USED)
EOF: 0 (0.0% USED)
EXTENTS ALLOCATED: 0
On Thursday, April 7, 2022 at 1:56:42 PM UTC-7, abol...@gmail.com wrote:extents, you could stop the parameter list with that fifth argument. All arguments past the last one you include are treated as OMITTED. (The block length is not used for unstructured files.)
Is this the correct syntax/values to create an EDIT file during runtime? It's still being created as Entery Sequence.
ENTER TAL CREATE USING TAL-FILE-NAME,
WS-FILE-PRIMARY-EXTENT,
101,
WS-FILE-SECONDARY-EXTENT,
2,
OMITTED,
WS-FILE-BLOCK-LENGTH
OMITTED
OMITTED
OMITTED
WS-FILE-MAXEXTENTS
OMITTED
OMITTED.
$ACCT.POST.POS00033 7 Apr 2022, 13:57The main mistake is that the "2" you are passing as the fifth argument is the file type number for Entry-sequenced. That value should be a 0 to specify an Unstructured file type. Unless you want to specify a non-default value for the maximum number of
ENSCRIBE
TYPE E
FORMAT 1
EXT ( 4 PAGES, 20 PAGES )
REC 375
BLOCK 4096
MAXEXTENTS 16
OWNER 255,16
SECURITY (RWEP): NNNN
DATA MODIF: 7 Apr 2022, 13:46
CREATION DATE: 7 Apr 2022, 13:46
LAST OPEN: 7 Apr 2022, 13:46
FILE LABEL: 150 (3.6% USED)
EOF: 0 (0.0% USED)
EXTENTS ALLOCATED: 0
The documentation says you should use the procedure FILE_CREATE_ instead of CREATE in new code, so it would be a tiny bit better for you to change to call FILE_CREATE_ instead, but it really doesn't matter.Thank you very much, this fixed the issue.
In article <4fc8b501-5101-4bf5...@googlegroups.com>,
abol...@gmail.com says...
Is this the correct syntax/values to create an EDIT file during runtime? >It's still being created as Entery Sequence.
ENTER TAL CREATE USING TAL-FILE-NAME,
WS-FILE-PRIMARY-EXTENT,
101,
WS-FILE-SECONDARY-EXTENT,
2,
OMITTED,
WS-FILE-BLOCK-LENGTH
OMITTED
OMITTED
OMITTED
WS-FILE-MAXEXTENTS
OMITTED
OMITTED.
$ACCT.POST.POS00033 7 Apr 2022, 13:57You have 2 in the file-type parameter, that is EntrySequenced
ENSCRIBE
TYPE E
FORMAT 1
EXT ( 4 PAGES, 20 PAGES )
REC 375
BLOCK 4096
MAXEXTENTS 16
OWNER 255,16
SECURITY (RWEP): NNNN
DATA MODIF: 7 Apr 2022, 13:46
CREATION DATE: 7 Apr 2022, 13:46
LAST OPEN: 7 Apr 2022, 13:46
FILE LABEL: 150 (3.6% USED)
EOF: 0 (0.0% USED)
EXTENTS ALLOCATED: 0
file-type 0 is unstructured
The Guardian Procedure Calls manual is here .. until they move it again
https://support.hpe.com/hpesc/public/docDisplay? docLocale=en_US&docId=a00022744en_us
manuals root pageThanks for your help!
https://support.hpe.com/connect/s/product? language=en_US&tab=manualsAndGuides&kmpmoid=7792231#t=Documents
Is this the correct syntax/values to create an EDIT file during runtime?
It's still being created as Entery Sequence.
ENTER TAL CREATE USING TAL-FILE-NAME,
WS-FILE-PRIMARY-EXTENT,
101,
WS-FILE-SECONDARY-EXTENT,
2,
OMITTED,
WS-FILE-BLOCK-LENGTH
OMITTED
OMITTED
OMITTED
WS-FILE-MAXEXTENTS
OMITTED
OMITTED.
$ACCT.POST.POS00033 7 Apr 2022, 13:57
ENSCRIBE
TYPE E
FORMAT 1
EXT ( 4 PAGES, 20 PAGES )
REC 375
BLOCK 4096
MAXEXTENTS 16
OWNER 255,16
SECURITY (RWEP): NNNN
DATA MODIF: 7 Apr 2022, 13:46
CREATION DATE: 7 Apr 2022, 13:46
LAST OPEN: 7 Apr 2022, 13:46
FILE LABEL: 150 (3.6% USED)
EOF: 0 (0.0% USED)
EXTENTS ALLOCATED: 0
In article <4fc8b501-5101-4bf5...@googlegroups.com>,
abol...@gmail.com says...
Is this the correct syntax/values to create an EDIT file during runtime? >It's still being created as Entery Sequence.
ENTER TAL CREATE USING TAL-FILE-NAME,
WS-FILE-PRIMARY-EXTENT,
101,
WS-FILE-SECONDARY-EXTENT,
2,
OMITTED,
WS-FILE-BLOCK-LENGTH
OMITTED
OMITTED
OMITTED
WS-FILE-MAXEXTENTS
OMITTED
OMITTED.
$ACCT.POST.POS00033 7 Apr 2022, 13:57You have 2 in the file-type parameter, that is EntrySequenced
ENSCRIBE
TYPE E
FORMAT 1
EXT ( 4 PAGES, 20 PAGES )
REC 375
BLOCK 4096
MAXEXTENTS 16
OWNER 255,16
SECURITY (RWEP): NNNN
DATA MODIF: 7 Apr 2022, 13:46
CREATION DATE: 7 Apr 2022, 13:46
LAST OPEN: 7 Apr 2022, 13:46
FILE LABEL: 150 (3.6% USED)
EOF: 0 (0.0% USED)
EXTENTS ALLOCATED: 0
file-type 0 is unstructured
The Guardian Procedure Calls manual is here .. until they move it again
https://support.hpe.com/hpesc/public/docDisplay? docLocale=en_US&docId=a00022744en_us
manuals root page
https://support.hpe.com/connect/s/product? language=en_US&tab=manualsAndGuides&kmpmoid=7792231#t=Documents
Is this the correct syntax/values to create an EDIT file during runtime?
It's still being created as Entery Sequence.
ENTER TAL CREATE USING TAL-FILE-NAME,
WS-FILE-PRIMARY-EXTENT,
101,
WS-FILE-SECONDARY-EXTENT,
2,
OMITTED,
WS-FILE-BLOCK-LENGTH
OMITTED
OMITTED
OMITTED
WS-FILE-MAXEXTENTS
OMITTED
OMITTED.
$ACCT.POST.POS00033 7 Apr 2022, 13:57
ENSCRIBE
TYPE E
FORMAT 1
EXT ( 4 PAGES, 20 PAGES )
REC 375
BLOCK 4096
MAXEXTENTS 16
OWNER 255,16
SECURITY (RWEP): NNNN
DATA MODIF: 7 Apr 2022, 13:46
CREATION DATE: 7 Apr 2022, 13:46
LAST OPEN: 7 Apr 2022, 13:46
FILE LABEL: 150 (3.6% USED)
EOF: 0 (0.0% USED)
EXTENTS ALLOCATED: 0
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 307 |
Nodes: | 16 (2 / 14) |
Uptime: | 43:44:30 |
Calls: | 6,910 |
Files: | 12,376 |
Messages: | 5,429,283 |