# ADACMP DECOMPRESS with PE group

**URL:** <https://techcommunity.softwareag.com/t/adacmp-decompress-with-pe-group/75180>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Adabas-on-Mainframes, Adabas-Utilities-on-Mainframes\
**Created:** [August 7, 2007, 6:27pm UTC](https://techcommunity.softwareag.com/t/adacmp-decompress-with-pe-group/75180 "2007-08-07T18:27:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![calbq](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@calbq](https://techcommunity.softwareag.com/u/calbq)\
**Post date:** [August 7, 2007, 6:27pm UTC](https://techcommunity.softwareag.com/t/adacmp-decompress-with-pe-group/75180/1 "2007-08-07T18:27:20Z")

</div>

Hi,

I have a problem when I try to decompress a file which contain a PE group (adabas version 7.4.3)

JCL  
000110 //CMP0034 EXEC PGM=ADARUN  
000111 //DDEBAND DD DISP=SHR,DSN=COGET.COG002.RDFCAT.REPRO  
000112 //DDAUSBA DD DSN=COGET.COG002.COMP.RDFCAT,  
000113 // DISP=(NEW,CATLG,CATLG),  
000114 // SPACE=(CYL,(40,40)),  
000115 // UNIT=SYSDA  
000116 //DDFEHL DD DSN=COGET.COG002.ANO.RDFCAT,  
000117 // DISP=(NEW,CATLG,CATLG),  
000118 // SPACE=(CYL,(1,1)),  
000119 // UNIT=SYSDA  
000120 //DDDRUCK DD SYSOUT=\*  
000121 //DDPRINT DD SYSOUT=\*  
000122 //SYSDUMP DD SYSOUT=\*  
000123 //DDCARD DD \*  
000124 ADARUN DATABASE=003,DEVICE=3390,SVC=220,PROG=ADACMP  
000125 //DDKARTE DD \*  
000126 ADACMP COMPRESS  
000127 ADACMP FILE=25  
000128 ADACMP LRECL=437  
000129 ADACMP MINISN=1  
000130 ADACMP DEVICE=3380  
000131 ADACMP FNDEF=‘01,AP,5,A,DE,NU’ CODCATFIN  
000132 ADACMP FNDEF=‘01,AG,8,A,NU’ DEBCONFIN  
000133 ADACMP FNDEF=‘01,AQ,8,A,NU’ FINCONFIN  
000134 ADACMP FNDEF=‘01,AC,3,A,NU’ CODGRPPRO  
000135 ADACMP FNDEF=‘01,AD,8,A,NU’ DATDERMOD  
000136 ADACMP FNDEF=‘01,AF,8,A,NU’ SIGNATURE  
000137 ADACMP FNDEF=‘01,AB,30,A,NU’ LIBCATFIN  
000138 ADACMP FNDEF=‘01,AS,2,A,DE,NU’ TYPCATFIN  
000139 ADACMP FNDEF=‘01,AW,1,A,NU’ CODREGPAR  
000140 ADACMP FNDEF=‘01,AE,PE(5)’ PE-CONFIN  
000141 ADACMP FNDEF=‘02,AI,1,A,NU’ NBRPERFIN  
000142 ADACMP FNDEF=‘02,AA,1,A,NU’ TYPPERFIN  
000143 ADACMP FNDEF=‘02,AN,2,A,NU’ CODTAUFIN

Result : warning in the step with DECOMPRESS

Problem with the AE Field which is the PE group

BROWSE COGET.COG002.ANO.RDFCAT Line 00000000 Col 001 080  
Command ===\> Scroll ===\> CSR  
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Top of Data \*\*\*\*\*\*\*\*  
AE.(…SPS0120070101 SPS20070807 SPARE PARSSWE  
AE.(…V01S 20070101 NVS20070807 NEW VEHICLES  
AE.(…V02S 20070101 NVS20070807 NEW VEHICLES LCV  
AE.(…D01S 20070101 DVS20070807 DEMO RENAULT M1  
AE.(…D02S 20070101 DVS20070807 DEMO RENAULT M2  
AE.(…D03S 20070101 DVS20070807 DEMO RENAULT LCV

Thanks in advance for your help

Regards

Pascal  
[RESULT-DECOMPRESS.TXT](https://techcommunity.softwareag.com/uploads/short-url/mWrKFe9FqmeJbha0qmAuI7V8aS6.TXT) (3.88 KB)  
[JCL-COMPRESS-DECOMPRESS.TXT](https://techcommunity.softwareag.com/uploads/short-url/hwnMQmNJsIhb5hJDUYnrtK0E6HG.TXT) (7.33 KB)  
[OUT-DECOMPRESS.txt](https://techcommunity.softwareag.com/uploads/short-url/y3bmL5Q3RS1TfkIyzfG1PY3Fb5A.txt) (14.5 KB)

---

<div class="post-metadata">

**Author:** ![Douglas\_Kelly](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/douglas_kelly/32/102_2.png) [@Douglas\_Kelly](https://techcommunity.softwareag.com/u/Douglas_Kelly)\
**Post date:** [August 7, 2007, 10:11pm UTC](https://techcommunity.softwareag.com/t/adacmp-decompress-with-pe-group/75180/2 "2007-08-07T22:11:15Z")

</div>

Your utility cards indicate you are doing a COMPRESS not a DECOMPRESS. Assuming you meant to do a COMPRESS, you need to have data for all 5 occurrences of the PE (and each contains the MU with 4 occurrences) or about 290 bytes for the PE, with numerics in the right places. Layout of the PE portion is AA1,AI1,AN1 (etc1),AA2,AI2,AN2,(etc2),AA3,AI3,AN3…, not AA1,AA2,AA3,AI1,AI2,AI3,etc

---

<div class="post-metadata">

**Author:** ![ventus](https://avatars.discourse-cdn.com/v4/letter/v/f17d59/32.png) [@ventus](https://techcommunity.softwareag.com/u/ventus)\
**Post date:** [November 1, 2007, 6:54am UTC](https://techcommunity.softwareag.com/t/adacmp-decompress-with-pe-group/75180/3 "2007-11-01T06:54:47Z")

</div>

Remove the occurence number from the PE and MU in the COMPRESS syntax.

When you specify occurence number you must then provide exactly that many corresponding data items.

When you omit occurence number Adabas works out how many occurences you have.

Specify the occurence number if you intend to provide exactly that many data items and require validation, otherwise omit occurence number.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:48pm UTC](https://techcommunity.softwareag.com/t/adacmp-decompress-with-pe-group/75180/4 "2021-04-02T14:48:38Z")

</div>


