hi,
I'm trying to read a work file and update a record, is it possible?
can I update records in a work file?
- sergeyken
- Posts: 458
- Joined: Wed Jul 24, 2019 10:12 pm
- Skillset: Assembler, JCL, Utilities, PL/I, C/C++, DB2, SQL, REXX, COBOL, etc. etc. etc.
- Referer: Internet search
Re: can I update records in a work file?
1. There are no “files” in mainframe world. In some cases the word “file” is equivalent to “DDNAME”.
2. Record update (in-place) is possible only when using either BDAM or VSAM access methods to work with datasets. It does not matter either it is a permanent, or a temporary one.
3. Record update (creating a new copy of it) is possible with any dataset. It does not matter either it is a permanent, or a temporary one.
2. Record update (in-place) is possible only when using either BDAM or VSAM access methods to work with datasets. It does not matter either it is a permanent, or a temporary one.
3. Record update (creating a new copy of it) is possible with any dataset. It does not matter either it is a permanent, or a temporary one.
Javas and Pythons come and go, but JCL and SORT stay forever.
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: can I update records in a work file?
the question is about NATURAL work files, not mvs datasets
in many 4th generation languages
work file is a perfectly legal term
and people who know the language are able to understand the concept
in many 4th generation languages
work file is a perfectly legal term
and people who know the language are able to understand the concept
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
- sergeyken
- Posts: 458
- Joined: Wed Jul 24, 2019 10:12 pm
- Skillset: Assembler, JCL, Utilities, PL/I, C/C++, DB2, SQL, REXX, COBOL, etc. etc. etc.
- Referer: Internet search
Re: can I update records in a work file?
Anyway, the work "files" do correspond to zOS work "DDNAMES":
Natural in Batch Mode under z/OS wrote:
CMWKFnn - Work Files 01-32
These datasets can be used by Natural work file statements like READ WORK nn and WRITE WORK nn.
If no DCB information (RECFM, LRECL, BLKSIZE, etc.) is available in the JCL or in the VTOC entry for the dataset, the defaults are defined by the WORK profile parameter or the NTWORK macro in the Natural parameter module.
The work file dataset names can be overwritten by subparameter DEST.
Javas and Pythons come and go, but JCL and SORT stay forever.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1
- 2202
-
by sandy427
View the latest post
Thu Oct 10, 2024 1:03 pm
-
- 0
- 1761
-
by CHMB1968
View the latest post
Mon Oct 31, 2022 2:18 am
-
-
ISPF Custom Line Edit macros do not work anymore
by harisukumaran » Thu Jun 27, 2024 4:42 am » in TSO & ISPF - 0
- 1264
-
by harisukumaran
View the latest post
Thu Jun 27, 2024 4:42 am
-
-
-
File def'n-problem with different records layouts
by ralph » Tue Oct 26, 2021 10:47 pm » in IBM Cobol - 2
- 1529
-
by ralph
View the latest post
Wed Oct 27, 2021 1:42 am
-
-
-
Join parts of two records from same file
by Mickes » Thu Apr 27, 2023 3:47 am » in DFSORT/ICETOOL/ICEGENER - 3
- 1245
-
by sergeyken
View the latest post
Sat Apr 29, 2023 1:32 pm
-