Skip to content

Commit

Permalink
Change DSORG=PS to PDSTYPE=PDS
Browse files Browse the repository at this point in the history
Signed-off-by: Qi Liang <[email protected]>
  • Loading branch information
std4lqi committed May 28, 2022
1 parent 2ffc5c1 commit 8185d92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ await accessor.connect({

#### Allocate Dataset

`allocateDataset(datasetName: string, allocateParamsOrString?: string | AllocateParams)` - Allocate sequential or partition (with the DCB attribut "DSORG=PO") dataset.
`allocateDataset(datasetName: string, allocateParamsOrString?: string | AllocateParams)` - Allocate sequential or partition (with the DCB attribut "PDSTYPE=PDS") dataset.

##### Parameter

Expand Down Expand Up @@ -170,7 +170,7 @@ await connection.allocateDataset('HLQ.ABC.DEF', 'LRECL=80 RECFM=FB BLKSIZE=320')
```

```js
await connection.allocateDataset('HLQ.ABC.PDS', {'LRECL': 80, 'RECFM': 'FB', 'BLKSIZE': 320, 'DSORG': 'PO', 'DIRECTORY': 20});
await connection.allocateDataset('HLQ.ABC.PDS', {'LRECL': 80, 'RECFM': 'FB', 'BLKSIZE': 320, 'PDSTYPE': 'PDS', 'DIRECTORY': 20});
```
#### List Datasets

Expand Down

0 comments on commit 8185d92

Please sign in to comment.