Hello,
i would like to compact all the dataset of a storage group (COMPACTION = YES in the DATACLASS)
I read the datasets must be extended format.
But in this link : https://www.ibm.com/support/knowledgece ... cocfds.htm
I read :
A compressed format data set cannot be opened for update.
Please could you tell me if i am right. This means that the dataset musn't be in DISP=MOD in a JOB ?
Because, today, in our production, there are many jobs that use the DISP=MOD. This means those batchs would abend if i use the Compaction ?
Compaction dataset ands UPDATE
-
- 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: Compaction dataset ands UPDATE
why not run a simple test Yourself ?
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
Re: Compaction dataset ands UPDATE
I did it and it works so i can't anderstand :
Code: Select all
A compressed format data set cannot be opened for update.
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: Compaction dataset ands UPDATE
Did you actually update it? Or did you just open it?
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic
Re: Compaction dataset ands UPDATE
I used this JCL :
This JCL work and do not Abend !
Code: Select all
//SNCV0001 EXEC PGM=ICEGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DISP=SHR,DSN=X.DATIN ==> dataset with compaction
// DD DISP=SHR,DSN=Y.DATA ==> dataset with compaction
//SYSUT2 DD DISP=MOD,DSN=Y.DATA ==> dataset with compaction
This JCL work and do not Abend !
-
- Similar Topics
- Replies
- Views
- Last post
-
- 3
- 6776
-
by sergeyken
View the latest post
Sun May 01, 2022 11:26 pm
-
-
PCOMM 64-bit Automation Macro failing to update WindowsTitle
by suriPCOMM » Tue Aug 31, 2021 5:33 am » in Simulators & Emulators - 0
- 7973
-
by suriPCOMM
View the latest post
Tue Aug 31, 2021 5:33 am
-
-
- 1
- 1784
-
by sergeyken
View the latest post
Fri Mar 26, 2021 11:59 pm
-
- 3
- 2696
-
by sergeyken
View the latest post
Sat Nov 16, 2024 11:05 pm
-
- 12
- 3909
-
by RalphEagle
View the latest post
Fri Jul 30, 2021 1:00 pm