Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Chemist who falls in acid will be tripping for weeks.


computers / comp.sys.tandem / Unstructured file create during run-time

SubjectAuthor
* Unstructured file create during run-timeAdam Kamal
+* Re: Unstructured file create during run-timeKeith Dick
|`- Re: Unstructured file create during run-timeAdam Kamal
+* Re: Unstructured file create during run-timeJShepherd
|+- Re: Unstructured file create during run-timeAdam Kamal
|`- Re: Unstructured file create during run-timeKeith Dick
`- Re: Unstructured file create during run-timeBill Honaker

1
Unstructured file create during run-time

<4fc8b501-5101-4bf5-805a-a4a3b0244905n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=401&group=comp.sys.tandem#401

  copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:a0c:f052:0:b0:443:db73:ea02 with SMTP id b18-20020a0cf052000000b00443db73ea02mr13287777qvl.22.1649365001422;
Thu, 07 Apr 2022 13:56:41 -0700 (PDT)
X-Received: by 2002:a05:6902:1ce:b0:63c:e2a5:e914 with SMTP id
u14-20020a05690201ce00b0063ce2a5e914mr10921061ybh.260.1649365001218; Thu, 07
Apr 2022 13:56:41 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Thu, 7 Apr 2022 13:56:40 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=65.125.102.200; posting-account=0NHiHgoAAAC-mY8P0yk1bd3zDKN8t6jB
NNTP-Posting-Host: 65.125.102.200
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4fc8b501-5101-4bf5-805a-a4a3b0244905n@googlegroups.com>
Subject: Unstructured file create during run-time
From: abolk...@gmail.com (Adam Kamal)
Injection-Date: Thu, 07 Apr 2022 20:56:41 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 32
 by: Adam Kamal - Thu, 7 Apr 2022 20:56 UTC

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

Re: Unstructured file create during run-time

<43abc338-3880-4454-ad8e-679b5208cdafn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=403&group=comp.sys.tandem#403

  copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:ac8:7f82:0:b0:2e1:caba:ad6e with SMTP id z2-20020ac87f82000000b002e1cabaad6emr14550056qtj.190.1649402628141;
Fri, 08 Apr 2022 00:23:48 -0700 (PDT)
X-Received: by 2002:a05:6902:2:b0:624:4cb5:fd3b with SMTP id
l2-20020a056902000200b006244cb5fd3bmr13354225ybh.1.1649402627941; Fri, 08 Apr
2022 00:23:47 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Fri, 8 Apr 2022 00:23:47 -0700 (PDT)
In-Reply-To: <4fc8b501-5101-4bf5-805a-a4a3b0244905n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=98.42.228.104; posting-account=Lua_ZwoAAADivbVXQF8uKE7dZSUNm9vj
NNTP-Posting-Host: 98.42.228.104
References: <4fc8b501-5101-4bf5-805a-a4a3b0244905n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <43abc338-3880-4454-ad8e-679b5208cdafn@googlegroups.com>
Subject: Re: Unstructured file create during run-time
From: rkd...@gmail.com (Keith Dick)
Injection-Date: Fri, 08 Apr 2022 07:23:48 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 45
 by: Keith Dick - Fri, 8 Apr 2022 07:23 UTC

On Thursday, April 7, 2022 at 1:56:42 PM UTC-7, abol...@gmail.com wrote:
> 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

The 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 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.)

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.

Re: Unstructured file create during run-time

<t2poas$pq8$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=404&group=comp.sys.tandem#404

  copy link   Newsgroups: comp.sys.tandem
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: inva...@nowhere.com (JShepherd)
Newsgroups: comp.sys.tandem
Subject: Re: Unstructured file create during run-time
Date: Fri, 8 Apr 2022 16:36:45 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 54
Message-ID: <t2poas$pq8$1@dont-email.me>
References: <4fc8b501-5101-4bf5-805a-a4a3b0244905n@googlegroups.com>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
Injection-Date: Fri, 8 Apr 2022 16:36:45 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="937aec2d900ba654a1275106617d9be4";
logging-data="26440"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+El40ab6ql/OFKQu/eexK8zB7NcFDlsb4="
Cancel-Lock: sha1:zC2mSv05l3E/I21n+FQdkc7u6js=
 by: JShepherd - Fri, 8 Apr 2022 16:36 UTC

In article <4fc8b501-5101-4bf5-805a-a4a3b0244905n@googlegroups.com>,
abolkini@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: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

You have 2 in the file-type parameter, that is EntrySequenced
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

Re: Unstructured file create during run-time

<6b903840-ac5c-4ecd-8ae5-6350a04b6219n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=405&group=comp.sys.tandem#405

  copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:a0c:c788:0:b0:444:2c7f:4126 with SMTP id k8-20020a0cc788000000b004442c7f4126mr1023574qvj.50.1649437333845;
Fri, 08 Apr 2022 10:02:13 -0700 (PDT)
X-Received: by 2002:a05:6902:1c2:b0:63e:6bd:3a5b with SMTP id
u2-20020a05690201c200b0063e06bd3a5bmr14178140ybh.424.1649437333469; Fri, 08
Apr 2022 10:02:13 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Fri, 8 Apr 2022 10:02:13 -0700 (PDT)
In-Reply-To: <43abc338-3880-4454-ad8e-679b5208cdafn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=65.125.102.200; posting-account=0NHiHgoAAAC-mY8P0yk1bd3zDKN8t6jB
NNTP-Posting-Host: 65.125.102.200
References: <4fc8b501-5101-4bf5-805a-a4a3b0244905n@googlegroups.com> <43abc338-3880-4454-ad8e-679b5208cdafn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6b903840-ac5c-4ecd-8ae5-6350a04b6219n@googlegroups.com>
Subject: Re: Unstructured file create during run-time
From: abolk...@gmail.com (Adam Kamal)
Injection-Date: Fri, 08 Apr 2022 17:02:13 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 47
 by: Adam Kamal - Fri, 8 Apr 2022 17:02 UTC

On Friday, April 8, 2022 at 12:23:48 AM UTC-7, rkd...@gmail.com wrote:
> On Thursday, April 7, 2022 at 1:56:42 PM UTC-7, abol...@gmail.com wrote:
> > 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
> The 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 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.)
>
> 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.

Re: Unstructured file create during run-time

<5677724f-9dc8-42f0-af4c-c3ee657de044n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=406&group=comp.sys.tandem#406

  copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:a05:622a:c3:b0:2e3:4bd0:16c2 with SMTP id p3-20020a05622a00c300b002e34bd016c2mr16420798qtw.575.1649437357200;
Fri, 08 Apr 2022 10:02:37 -0700 (PDT)
X-Received: by 2002:a0d:cc51:0:b0:2eb:84e2:1de with SMTP id
o78-20020a0dcc51000000b002eb84e201demr17413945ywd.249.1649437356789; Fri, 08
Apr 2022 10:02:36 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Fri, 8 Apr 2022 10:02:36 -0700 (PDT)
In-Reply-To: <t2poas$pq8$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=65.125.102.200; posting-account=0NHiHgoAAAC-mY8P0yk1bd3zDKN8t6jB
NNTP-Posting-Host: 65.125.102.200
References: <4fc8b501-5101-4bf5-805a-a4a3b0244905n@googlegroups.com> <t2poas$pq8$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5677724f-9dc8-42f0-af4c-c3ee657de044n@googlegroups.com>
Subject: Re: Unstructured file create during run-time
From: abolk...@gmail.com (Adam Kamal)
Injection-Date: Fri, 08 Apr 2022 17:02:37 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 51
 by: Adam Kamal - Fri, 8 Apr 2022 17:02 UTC

On Friday, April 8, 2022 at 9:36:47 AM UTC-7, JShepherd wrote:
> 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: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
> You have 2 in the file-type parameter, that is EntrySequenced
> 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
Thanks for your help!

Re: Unstructured file create during run-time

<b59f669e-a0cc-4728-a0ab-8ac4f0863ab8n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=407&group=comp.sys.tandem#407

  copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:a37:aec7:0:b0:69b:f27b:8784 with SMTP id x190-20020a37aec7000000b0069bf27b8784mr632835qke.464.1649438553517;
Fri, 08 Apr 2022 10:22:33 -0700 (PDT)
X-Received: by 2002:a81:748a:0:b0:2eb:e6c0:981b with SMTP id
p132-20020a81748a000000b002ebe6c0981bmr3180552ywc.71.1649438553272; Fri, 08
Apr 2022 10:22:33 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Fri, 8 Apr 2022 10:22:32 -0700 (PDT)
In-Reply-To: <t2poas$pq8$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=98.42.228.104; posting-account=Lua_ZwoAAADivbVXQF8uKE7dZSUNm9vj
NNTP-Posting-Host: 98.42.228.104
References: <4fc8b501-5101-4bf5-805a-a4a3b0244905n@googlegroups.com> <t2poas$pq8$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b59f669e-a0cc-4728-a0ab-8ac4f0863ab8n@googlegroups.com>
Subject: Re: Unstructured file create during run-time
From: rkd...@gmail.com (Keith Dick)
Injection-Date: Fri, 08 Apr 2022 17:22:33 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 58
 by: Keith Dick - Fri, 8 Apr 2022 17:22 UTC

On Friday, April 8, 2022 at 9:36:47 AM UTC-7, JShepherd wrote:
> 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: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
> You have 2 in the file-type parameter, that is EntrySequenced
> 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

Rather than trying to use URLs that point into HPE's library, I always go in from the top:
www.hpe.com/info/nonstop-docs

From that page, click on the link for L-series or J-series, as appropriate, then enter keywords to search for the manual you are interested in. In the search results, click on the manual title to open the manual and you can read it in your web browser.

For manuals I reference often, instead of bookmarking the manual's URL, I download the PDF to my computer -- when you open a manual, there is a button near the top of the window for downloading the manual.

Re: Unstructured file create during run-time

<p9215hd3nv6obcenukge7iaac94cjeao5i@4ax.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=410&group=comp.sys.tandem#410

  copy link   Newsgroups: comp.sys.tandem
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer02.ams4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx11.iad.POSTED!not-for-mail
From: no_spam_...@x_i_d.com (Bill Honaker)
Newsgroups: comp.sys.tandem
Subject: Re: Unstructured file create during run-time
Organization: XID, Ltd.
Message-ID: <p9215hd3nv6obcenukge7iaac94cjeao5i@4ax.com>
References: <4fc8b501-5101-4bf5-805a-a4a3b0244905n@googlegroups.com>
X-Newsreader: Forte Agent 6.00/32.1186
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 50
X-Complaints-To: abuse@easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Fri, 08 Apr 2022 14:18:50 -0500
X-Received-Bytes: 2710
 by: Bill Honaker - Fri, 8 Apr 2022 19:18 UTC

On Thu, 7 Apr 2022 13:56:40 -0700 (PDT), Adam Kamal <abolkini@gmail.com> wrote:

>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

Hi, Adam,

Keith and JShepherd's comments will create an Edit file correctly, albeit an empty one.

If you then intend to open and write to it though, you can't just use FILE_OPEN_ and WRITEX calls. The resulting file will be declared corrupt by programs that try to riead it.

You can find information in the IOEdit procedures which are used to write edit files in the Guardian Programmer's Guide,
in the chapter labeled "Using the IOEdit Procedures'. Alternatively, since your code appears to be COBOL,
you can use the standard COBOL verbs to Open (for Extend is preferred), WRITE and CLOSE.

But it's probably usefult to use variable length records in those writes.

Good luck!
Bill

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor