# How do you define views in PAC?

**URL:** <https://techcommunity.softwareag.com/t/how-do-you-define-views-in-pac/60812>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-Add-on-Products, Natural-Predict\
**Created:** [April 12, 2006, 12:58am UTC](https://techcommunity.softwareag.com/t/how-do-you-define-views-in-pac/60812 "2006-04-12T00:58:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![adabasdba](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@adabasdba](https://techcommunity.softwareag.com/u/adabasdba)\
**Post date:** [April 12, 2006, 12:58am UTC](https://techcommunity.softwareag.com/t/how-do-you-define-views-in-pac/60812/1 "2006-04-12T00:58:58Z")

</div>

I read the manual, it talks about the predict utility SYSDICBE.

The manual says:  
“When initially invoked from PAC, the Predict SYSDICBE utility unloads Predict objects to a work file from the FDIC file specified on the application status link definition.”

How do you invoke SYSDICBE from PAC? I see how to invoke it from predict, but not from pac.

I have a new database file, and a ddm of it, but our PAC event fails because PAC can’t find the DDM.

HELP!!!

---

<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:** [April 13, 2006, 12:51am UTC](https://techcommunity.softwareag.com/t/how-do-you-define-views-in-pac/60812/2 "2006-04-13T00:51:31Z")

</div>

did you do a migration event to bring in the DDM to PAC?

---

<div class="post-metadata">

**Author:** ![adabasdba](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@adabasdba](https://techcommunity.softwareag.com/u/adabasdba)\
**Post date:** [April 13, 2006, 3:00am UTC](https://techcommunity.softwareag.com/t/how-do-you-define-views-in-pac/60812/3 "2006-04-13T03:00:12Z")

</div>

No I didn’t, that’s what I don’t know how to do.

---

<div class="post-metadata">

**Author:** ![Jorg\_Anton](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@Jorg\_Anton](https://techcommunity.softwareag.com/u/Jorg_Anton)\
**Post date:** [April 13, 2006, 2:56pm UTC](https://techcommunity.softwareag.com/t/how-do-you-define-views-in-pac/60812/4 "2006-04-13T14:56:55Z")

</div>

Dear Adabasdba,

PAC invokes the SYSDICBE utility internally during an migration event. For migrating predict objects to PAC basically you need to run the following steps.

1. Add Predict-Application (in SYSPAC)
2. Add Status of your predict application (SYSPAC)
3. Link status to Predict Application (from step 1 - SYSPAC)
4. Modify (or better COPY/MODIFY) example job “OS\_PREDICT\_MIGRATE\_IN” (MVS) / "VS\_PREDICT\_MIGRATE\_IN (VSE) - concerning your environment (SYSPAC).
5. Add migration event for the predict application (from step 1 - SYSPAC)  
Prerequisite:

- Migration needs to run in BATCH
- Specify JOB (modified in step 4

1. Submit JOB (SYSPAC)

If you have a look to the example JCL “OS\_PREDICT\_MIGRATE\_IN” - the SYSDICBE utility will be “invoked” when performing step 2/4/5 while executing the objects TRNPEVTI, TRNPRDST

Hope this answers your question, J

---

<div class="post-metadata">

**Author:** ![adabasdba](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@adabasdba](https://techcommunity.softwareag.com/u/adabasdba)\
**Post date:** [April 13, 2006, 9:08pm UTC](https://techcommunity.softwareag.com/t/how-do-you-define-views-in-pac/60812/5 "2006-04-13T21:08:10Z")

</div>

Thank you Jorg.

I found the predict application “PREDICT”. I created an event, approved it, submitted it.

The job failed with the message “Event not locked for migration, function aborted.”. I can’t find anything in the manuals about “locking” an event.

HELP!

---

<div class="post-metadata">

**Author:** ![adabasdba](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@adabasdba](https://techcommunity.softwareag.com/u/adabasdba)\
**Post date:** [April 14, 2006, 1:21am UTC](https://techcommunity.softwareag.com/t/how-do-you-define-views-in-pac/60812/6 "2006-04-14T01:21:10Z")

</div>

Thanks to Diane Bitters, I’ve got it fixed.

When I created the new file, I defined it to Predict, however I should have also defined it to PAC. Then the program migration failed, locking the Predict coordinator. That made my job to define the new file to PAC to fail.

Diane suggested I unlock the Predict coordinator, which I did, which enabled my PAC event to define the new file to PAC to work, which enabled the event to migrate the program using the new view to work.

Thanks Diane and Jorg!

---

<div class="post-metadata">

**Author:** ![Jorg\_Anton](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@Jorg\_Anton](https://techcommunity.softwareag.com/u/Jorg_Anton)\
**Post date:** [April 18, 2006, 1:18pm UTC](https://techcommunity.softwareag.com/t/how-do-you-define-views-in-pac/60812/7 "2006-04-18T13:18:21Z")

</div>

Nice to hear, that this finally has been solved.

Have a nice day, J

---

<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:40pm UTC](https://techcommunity.softwareag.com/t/how-do-you-define-views-in-pac/60812/8 "2021-04-02T14:40:34Z")

</div>


