This chapter describes the online and asynchronous programs provided with CEDS. You can use this information to maintain programs or to modify programs to meet special requirements
Note: This chapter documents Diagnosis, Modification, and Tuning Information, which is provided to help the customer do diagnosis, modification, and tuning of CEDS
Warning!
Do not use this Diagnosis, Modification, and Tuning Information
as a programming interface.
This chapter describes the following programs in
the order shown:
| Program | Description | |
|---|---|---|
| EMTODSCB | CEDS copy bill of material data | |
| EMTODSDL | Display CEDS delta reports | |
| EMTODSHE | Display CEDS main product menu | |
| EMTODSLD | CEDS start engineering data load | |
| EMTODSMG | CEDS message display | |
| EMTODSMR | Maintain CEDS control record | |
| EMTODSTP | CEDS stop engineering data load | |
| EMTODSBL | Load bill of material data | |
| EMTODSBM | Copy engineering bill of material | |
| EMTODSCT | Load data control | |
| EMTODSXE | Translate EMI file data | |
| EMTODSXH | Translate PES interface file data | |
| EMTODSXP | Translate PDI file data | |
| EMTODSER | Asynchronous message retrieval |
Unless otherwise noted, the programs in this chapter are written in COBOL. All of the programs support online transactions that operate in the CICS environment and use command-level CICS statements.
The information is presented in the following format:
Note: For more information on the database access chart, see Appendix A. "How to use the charts", of this manual.
Note: For more information on the Screen field/database field cross-reference chart, see Appendix A. "How to use the charts", of this manual.
This program starts the asynchronous task that transfers bill of material information.
Figure 2-1. Start bill of material copy to production environment screen
+--------------------------------------------------------------------------------+ |DSCB Env.: X | | Fn: CEDS Copy Bill of Material Data | | | | Item No: Date: | | E/C No: Comp No: Pref: Suff: | | ----- -----| | | | Enter X to start the function listed: | | | | _ Copy Bill of Material Data | | _ Delete Bill of Material Data | | | | | | | | | | | | | | | | | | | | ----- EMT014E: Copy / delete operation initiated -----| | | | | | Enter F1=Help F2=Message help F10=Save F11=Restore | +--------------------------------------------------------------------------------+
The DSCB transaction starts the task, DSBM. The DSBM task performs two functions, copy and delete, either separately or together. It can copy bill of material data from load edit to production or delete the data from load edit. It can also copy the data to production and then delete it from load edit. You must enter the bill of material item number, then select copy, delete, or both copy and delete.
| AREACSI | CCCPFKYT | DATEOS1 | DCLEXIN |
| DCLINEX | DDXTCOMM | DFHAID | DFHBMSCA |
| DFHBOSCA | DLIUIB | EMTCTERM | EMTCTWA |
| EMTCXHKM | EMTSCB | ENVTABLE | FIELDOS1 |
| FUNCTINS | ITEMIDS | MFERAREA | PCB1 |
| PCB2 | PROCERR | PRODSTS |
| DDXTRML | MFERPGM | SECURITY |
| Database | Segment | Segment Description | Mode |
|---|---|---|---|
| PRDEFDX | ITEMID | Item ID segment | R/O |
| PRDEFDB | ITEMID | Item ID segment | R/O |
| Note: The X and B suffix on database names reflect usage in the load edit or production environments. | |||
When initiated, this program:
The DSBM task uses an asynchronous program that copies a bill of material (product structure) from the load edit environment to the production environment of TFG2000. The program first checks for the existence of the parent (assembly) item in the load edit version of the Product Definition Database. It then checks the item's components for an item type of %.
An item type of % indicates a component that was loaded to the load edit version of the Product Definition Database as a "dummy" item to satisfy product structure requirements. If the program finds a dummy item as a component of the item being copied, the copy process is stopped.
This program lets you display, print, and delete delta reports.
Figure 2-2. Delta reports screen
+--------------------------------------------------------------------------------+ | DSDL Env.: X| | Fn: CEDS Display Delta Reports Page: | | | | Item No: Date: | | E/C No: Comp No: Pref: Suff: | | ----- -----| | | | To print enter "Y" here: N | | To delete enter "Y" here: N Printer: | | Display Queue ID: Current Date: | | | | Enter X to select delta report: | | | | _ Bill of material delta report | | | | | | | | | | | | | | | | ----- EMT061: Please select a delta report option -----| | | | Enter F1=Help F2=Message help F10=Save F11=Restore | +--------------------------------------------------------------------------------+
Whenever CEDS loads engineering data to either the load edit version or production version of the TFG2000 Product Definition Database, it checks the new data against existing data. If CEDS detects any differences, it creates a delta report.
You can display delta reports by entering the DSDL transaction code from any TFG2000 panel.
| AREACSI | CCCPFKYT | DATEOS1 | DDXTCOMM |
| DFHAID | DFHBMSCA | DFHBOSCA | EMTCTERM |
| EMTCTWA | EMTCXHKM | EMTSDL | ENVTABLE |
| FIELDOS1 | MFERAREA | PROCERR |
| MFERPGM | DDXTRML | SECURITY |
When initiated, this program:
This program displays a list of online transactions available with the CEDS product.
Figure 2-3. CEDS main product menu screen
+--------------------------------------------------------------------------------+ | DSHE Env.: X| | Fn: TFG2000 Engineering Data Support Functions | | | | Item No: Date: | | E/C No: Comp No: Pref: Suff: | | | | Transaction Description TRAN Function (Fn:) Data | | -------------------------------- ---- -------------------- --------------------| | Start Engineering Data Load DSLD | | Stop Engineering Data Load DSTP | | Display Messages DSMG DSLD,DSCB | | Display Delta Reports DSDL | | Maintain Options DSMR INQU,REPL | | Copy Bill of Material Data DSCB Item No | | | | | | | | | | | | | | | | ----- Last page -----| | | | Enter F1=Help F2=Message help F10=Save F11=Restore | | | +--------------------------------------------------------------------------------+
The DSHE transaction displays CEDS transactions with a brief description of each. Available function codes appear for each transaction code, including the data required to run the transaction.
| AREACSI | CCCPFKYT | DATEOS1 | DCLEXIN |
| DCLINEX | DDXTCOMM | DFHAID | DFHBMSCA |
| DFHBOSCA | DLIUIB | EMTCTERM | EMTCXHKM |
| EMTSHE | ENVTABLE | FIELDOS1 | FUNCTINS |
| MFERAREA | PROCERR |
| MFERPGM | SECURITY | DDXTRML |
When initiated, this program:
This program controls the loading of interface files to the TFG2000 Product Definition Database.
Figure 2-4. Start engineering data load screen.
+--------------------------------------------------------------------------------+ | DSLD Env.: X| | Fn: CEDS Start Engineering Data Load | | | | Item No: Date: | | E/C No: Comp No: Pref: Suff: | | ------- -----| | | | Enter X to start the function listed: | | | | _ Load EMI format data | | _ Load PES format data | | _ Load PDI format data | | | | | | | | | | | | | | | | | | ----- EMT012E: Please enter requested data -----| | | | | | Enter F1=Help F2=Message help F10=Save F11=Restore | +--------------------------------------------------------------------------------+
The DSLD transaction starts the process of loading bill of material information into the TFG2000 databases. Input comes from a specified interface file containing bill of material information. This information can be extracted from a computer-aided design system, a computer-aided design integration system, or an engineering release management system.
| AREACSI | CCCPFKYT | DATEOS1 | DCLEXIN |
| DCLINEX | DDXTCOMM | DFHAID | DFHBMSCA |
| DFHBOSCA | DLIUIB | EMTCTERM | EMTCTWA |
| EMTCXHKM | EMTSLD | ENVTABLE | FIELDOS1 |
| MFERAREA | PROCERR |
| MFERPGM | SECURITY | DDXTRML |
| Database | Segment | Segment Description | Mode |
|---|---|---|---|
| EMTDB0E | BOMWORK | Control record | R/W |
When initiated, this program:
CEDS follows the same load cycle every time you initiate the load process. The file transfer program first takes the data from the engineering system and places it in the selected interface file. CEDS then translates the data into the required format and loads it into the TFG2000 Product Definition Database.
When CEDS loads data into TFG2000, it first determines if the item already exists. CEDS searches for the item in the load edit environment. If the system does not find the item, it then looks in the production environment. If CEDS finds the item in the production environment, it copies the data to the load edit environment.
You can only update item data as long as the status of the engineering change that created the item and its product structure is under study. Once the engineering change is in release status, CEDS does not make any further changes to the data. This is because new item data might contain changes that are not effective until a future date.
CEDS does not automatically update item data in existing items. CEDS instead produces a delta report when it detects differences between new and existing data. The delta report tells you what data you should change and when to change it (the effective start-date of the new data).
To change product structure data, you must create an engineering change that replaces an existing component with a component that has a suffix. For example:
A
|
*¦¦¦¦¦¦¦*¦¦¦¦¦¦¦*
| |
B C
A
|
*¦¦¦¦¦¦¦*¦¦¦¦¦¦¦*
| |
B C (suffix 1)
When CEDS loads a new item into TFG2000 and detects no differences, it does not generate a delta report.
After CEDS loads the data, it pauses for the specified restart interval and then automatically restarts itself.
This program displays, prints, and deletes messages generated by CEDS programs. It allows you to monitor the programs that load and copy data.
Figure 2-7. CEDS message display screen
+--------------------------------------------------------------------------------+ | DSMG Env.: X| | Fn: CEDS Display Messages Page: | | | | Item No: Date: | | E/C No: Comp No: Pref: Suff: | | ----- -----| | | | To print enter "Y" here: N | | To delete enter "Y" here: N Printer: | | Display Queue ID: Current Date: | | | | Functions Supported: | | "DSLD" - Display Load Messages | | "DSCB" - Display Bill of Material Copy Messages | | | | | | | | | | | | | | | | ----- EMT009E: Enter a function from the list above -----| | | | Enter F1=Help F2=Message help F10=Save F11=Restore | +--------------------------------------------------------------------------------+
The DSMG transaction displays the messages generated by CEDS processing programs that perform the following tasks:
These messages reveal a program's progress, any errors, or whether the program started or completed. You may display, print, or delete messages for each function.
| AREACSI | CCCPFKYT | DATEOS1 | DDXTCOMM |
| DFHAID | DFHBMSCA | DFHBOSCA | EMTCMGCY |
| EMTCTERM | EMTCTWA | EMTCXHKM | EMTSMG |
| ENVTABLE | FIELDOS1 | FUNCTINS | MFERAREA |
| PROCERR |
| MFERPGM | SECURITY | DDXTRML |
When initiated, this program:
This program lets you maintain the values in the CEDS control record.
Figure 2-8. Maintain CEDS control record screen
+--------------------------------------------------------------------------------+ | DSMR Env.: X| | Fn: CEDS Maintain Options | | | | Item No: Date: | | E/C No: Comp No: Pref: Suff: | | ----- -----| | | | Engineering Data Load Restart Interval (HHMMSS): 000500 | | Engineering Change Effective Date (D, T): D | | Create Dummy Item During Load (Y, N): Y | | Load Bill of Material to Production Environment (Y, N): N | | | | | | | | | | | | | | | | | | | | ----- EMT068E: Current record -----| | Functions: INQU - Inquire (default) REPL - Change | | | | Enter F1=Help F2=Message help F10=Save F11=Restore | +--------------------------------------------------------------------------------+
The DSMR transaction reviews or modifies existing
values in the CEDS control record.
These values control CEDS operations.
The control record contains the following values:
| Value | Description |
|---|---|
| Restart interval | Frequency at which information is transferred into TFG2000 databases |
| Engineering change effective date | Date an EC becomes effective |
| Create dummy item during load | Code indicating whether to create a dummy item if the component ITEMID record is not in the database |
| Load bill of material to production environment | Code indicating whether to load bills of material to the production environment |
| AREACSI | CCCPFKYT | DATEOS1 | DCLEDDCM |
| DDXTCOMM | DFHAID | DFHBMSCA | DFHBOSCA |
| DLIUIB | EMTCBMWX | EMTCTERM | EMTCTWA |
| EMTCXHKM | EMTSMR | ENVTABLE | FIELDOS1 |
| FUNCTINS | MFERAREA | PCB1 | PROCERR |
| MFERPGM | SECURITY | DDXTRML |
| Database | Segment | Segment Description | Mode |
|---|---|---|---|
| EMTDB0E | BOMWORK | Control record | R/W |
| Screen Field Name | Description | Database Field | Segment Name | Database Name |
|---|---|---|---|---|
| FN | Function code |
|
|
|
| Engineering data load restart interval | Run interval (format: HHMMSS) | CLIVAL | BOMWORK | EMTDBOE |
| Engineering change effective date | Code to determine EC effectivity date
| CLCRDA | BOMWORK | EMTDBOE |
| Create dummy item during load |
Code to indicate whether to create a dummy item
when loading a Bill of Material if the component
ITEMID is not in the database
| CLCRDI | BOMWORK | EMTDBOE |
| Load bill of material to production environment | Code to indicate where to load Bill of Material data
| CLBLDP | BOMWORK | EMTDBOE |
When initiated, this program:
This program stops the loading of interface files to TFG2000 databases.
Figure 2-9. Stop engineering data load screen
+--------------------------------------------------------------------------------+ | DSTP Env.: X| | Fn: CEDS Stop Engineering Data Load | | | | Item No: Date: | | E/C No: Comp No: Pref: Suff: | | ------- -----| | | | Enter X to stop the function listed: | | | | _ Load EMI format Data | | _ Load PES format Data | | _ Load PDI format data | | | | | | | | | | | | | | | | | | ----- EMT202E: Engineering data load stopped -----| | | | | | Enter F1=Help F2=Message help F10=Save F11=Restore | +--------------------------------------------------------------------------------+
The DSTP transaction stops the process that loads bill of material information into the TFG2000 databases from any or all active interfaces. After you select an interface, the stop program ends the load by turning the interface off in the control record. The control program EMTODSCT uses data in the control record to determine which interface file to process.
You can select to stop only an interface that was previously started by the DSLD transaction.
The load process stops when no interface files are selected.
| AREACSI | CCCPFKYT | DATEOS1 | DCLEXIN |
| DCLINEX | DDXTCOMM | DFHAID | DFHBMSCA |
| DFHBOSCA | DLIUIB | EMTCTERM | EMTCTWA |
| EMTCXHKM | EMTSTP | ENVTABLE | FIELDOS1 |
| MFERAREA | PROCERR |
| MFERPGM | SECURITY | DDXTRML |
| Database | Segment | Segment Description | Mode |
|---|---|---|---|
| EMTDB0E | BOMWORK | Control record | R/W |
When initiated, this program:
This program loads the TFG2000 Product Definition Database, load edit environment or production environment, with data from the BOMWORK database. The BOMWORK database is loaded by one of the translate programs under control of program EMTODSCT.
The Load BOM data program does the following:
| EMTODSER | DFSNNCC(MVS) | DLZNNCC(DOS) |
| DBD Name | Segment | Segment Description | Mode |
|---|---|---|---|
| PRDEFDX | ITEMID | Item identification | R/W |
|
| ENGCHG | Engineering change | R/W |
|
| INVDAT | Inventory data | R/W |
|
| ITMDAT | Item data | R/W |
|
| PRODST | Product structure | R/W |
| ITMTXT | Item text | R/W | |
|
| ITMPTR | Item pointer | R/W |
| PRDEFDB | ITEMID | Item identification | R/W |
|
| ENGCHG | Engineering change | R/W |
|
| INVDAT | Inventory data | R/W |
|
| ITMDAT | Item data | R/W |
|
| PRODST | Product structure | R/W |
| ITMTXT | Item text | R/W | |
|
| ITMPTR | Item pointer | R/W |
| EMTDB0E | BOMWORK | Bill of material work | R/W |
| LLCCXCT | LLCTL | Low level root | R/W |
| PARTBEXP | New low level code | R/W | |
| UPDMASTR | Original low level code | R/W | |
| BOMEXPL | ITEMID | Item identification | R/O |
| INVDAT | Inventory data | R/O | |
| ITMDAT | Item data | R/O | |
| PRODST | Product structure | R/O | |
| CMPITM | Item pointer and component item | R/O | |
| ENGCHG | Engineering change | R/O | |
| BOMEXPX | ITEMID | Item identification | R/O |
| INVDAT | Inventory data | R/O | |
| ITMDAT | Item data | R/O | |
| PRODST | Product structure | R/O | |
| CMPITM | Item pointer and component item | R/O | |
| ENGCHG | Engineering change | R/O | |
| ACHNDB | ACITEM | Activity chain item | R/W |
| STEXDBD | STDXID | Standard text root | R/O |
| STDATA | Standard text data | R/O |
| BOMWORK EC data | |||||||
|---|---|---|---|---|---|---|---|
| Field Name | Description | Segment | Field | Product Definition Database | |||
| TSECNC | EC number | ENGCHG | MECNC | ||||
| TSEENG | Engineer | ENGCHG | MEENG | TSEDES | Description | ENDCHG | MEDES |
| TSESEN | Serial number | ENGCHG | MESEN | ||||
| TSESTC | Status code | ENGCHG | MESTC | ||||
| TSERSN | Reason code | ENGCHG | MERSN | ||||
| TSEEDT | Creation date | ENGCHG | MEDAT | ||||
| BOMWORK Item data | |||||
|---|---|---|---|---|---|
| Field Name | Description | Segment | Field | Product Definition Database | |
| TSEEFF | Effectivity date | ENGCHG | MEEFF | ||
|
|
| PRODST | SPADDDT | ||
| TSEETC | Effectivity type | ENGCHG | MEFFC | ||
| TSEDNO | Drawing number | ENGCHG | MEDNO | ||
| TSPDSC | Description | ITEMID | MPDSC | ||
| TSUTMS | Unit of measure | ITEMID | MUTMS | ||
| TSTYPN | Item type | ITEMID | MTYPN | ||
| TSRTNO | Routing number | ITEMID | MRTGN | ||
| TSRTTY | Routing type | ITEMID | MRTGS | ||
| TSCOST | Cost | ITMDAT | MUCTL | ||
| TSUWGT | Unit of weight | ITMDAT | MWUM | ||
| TSWGHT | Weight | ITMDAT | MWEIGHT | ||
| TSDIAM | Format code | ITMDAT | MFORCD | ||
| TSUDIM | UOM dimension | ITMDAT | MDUM | ||
| TSBRDT | Breadth or diameter | ITMDAT | MBREAD | ||
| TSLNGT | Length | ITMDAT | MLENGT | ||
| TSHGHT | Height | ITMDAT | MHEIGH | ||
| TSISSCTL | Issue type control | ITEMID | ISSCTL | ||
| TSRECCTL | Receipt type control | ITEMID | ISSCTL | ||
| TSLTCD | Source code | ITEMDAT | MLTCD | ||
| TSLDTIME | Lead time | ITEMDAT | MLTPR | ||
| -- OR -- | ITEMDAT | MLTPU | |||
| TSSHRF | Shrinkage factor | ITEMDAT | MSHRF | ||
| BOMWORK Description data | |||||
|---|---|---|---|---|---|
| Field Name | Description | Segment | Field | Product Definition Database | |
| TSDSCL | Long description | ITMTXT | PPCOMM | ||
| BOMWORK Component data | |||||
|---|---|---|---|---|---|
| Field Name | Description | Segment | Field | Product Definition Database | |
| TSITEM | Item number | ITEMID | MITEM | ||
| TSPREFIX | Component prefix | PRODST | SPSQNO | ||
| TSCOMP | Component item | PRODST | SPCOMP | ||
| TSCSUF | Component suffix | PRODST | SPSUFFIX | ||
| TSDESC | Description | ITEMID | MPDSC | ||
| TSCTYP | Type | ITEMID | MTYPN | ||
| TSQTY | Quantities per assembly | PRODST | SPQTY | ||
| TSCUOM | Unit of measure |
|
| ||
| TSBMTE | Status | PRODST | SPBMTE | ||
| TSCAT | Option category | PRODST | SPCAT | ||
| TSVAL | Option value | PRODST | SPVAL | ||
| TSACT | Action code | PRODST | SPACT | ||
| TSPHAN | Phantom code | PRODST | SPPHAN | ||
| TSRATE | Usage probability | PRODST | SPRATE | ||
| TSCOFA | Offset adjustment | PRODST | SPSOA | ||
| TSCPON | Operation | PRODST | SPPON | ||
| TSENGP | Eng planning code |
|
| ||
| TSMFGP | Mfg planning code |
|
| ||
| TSSCRP | Scrap factor | PRODST | SPSSF | ||
This program performs the following tasks:
(The above process is repeated 15 times to handle up to 15 levels of a product structure.)
(Repeat step 5 until all the records in the TSQ have been read).
(Repeat step 8 until all the records in the TSQ have been read.)
(Repeat steps 9c thru 9f until all the records in the TSQ have been read.)
| EMTODSER | DFSNNCC(MVS) | DLZNNCC(VSE) |
| Database | Segment | Segment Description | Mode |
|---|---|---|---|
| PRDEFDX | ITEMID | Item identification | R/W |
|
| ENGCHG | Engineering change | R/W |
|
| INVDAT | Inventory data | R/W |
|
| ITMDAT | Item data | R/W |
|
| PRODST | Product structure | R/W |
|
| ITMPTR | Item pointer | R/W |
| ITMTXT | Item text | R/W | |
| PRDEFDB | ITEMID | Item identification | R/W |
|
| ENGCHG | Engineering change | R/W |
|
| INVDAT | Inventory data | R/W |
|
| ITMDAT | Item data | R/W |
|
| PRODST | Product structure | R/W |
|
| ITMPTR | Item pointer | R/W |
| ITMTXT | Item text | R/W | |
| STEXDBD | STDXID | Standard text root | R/O |
|
| STDATA | Standard text data | R/O |
| LLCCXCT | LLCTL | Low level root | R/W |
|
| PARTBEXP | New low level code | R/W |
|
| UPDMASTR | Original low level code | R/W |
| BOMEXPL | ITEMID | Item identification | R/O |
|
| INVDAT | Inventory data | R/O |
|
| ITMDAT | Item data | R/O |
|
| PRODST | Product structure | R/O |
|
| CMPITM | Item pointer and component item | R/O |
|
| ENGCHG | Engineering change | R/O |
| ACHNDB | ACITEM | Activity chain item | R/W |
| BOMIMPX | ITEMID | Item identification | R/O |
|
| WHRUSE | Where used | R/O |
This program coordinates a Bill of Material load based on a pre-established mode set by the Start Engineering Data Load program, EMTODSLD.
| DFSNNCC(MVS) | DLZNNCC(VSE) | EMTODSBL | EMTODSER |
| EMTODSPU(VSE) | EMTODSRL | EMTODSXE | EMTODSXH |
| EMTODSXP |
| Database | Segment | Segment Description | Mode |
|---|---|---|---|
| EMTDB0E | BOMWORK | Bill of material work | R/W |
| STEXDBD | STDXID | Standard text root | R/O |
|
| STDATA | Standard text data | R/O |
This program reads Computer-Aided Design system data from a VSAM file and loads it to the BOMWORK database. It translates EMI format data into the format required by the Bill of Material load program, EMTODSBL.
| EMTODSER |
| Database | Segment | Segment Description | Mode |
|---|---|---|---|
| EMTDB0E | BOMWORK | Bill of material work | R/W |
| DDXDT0E | STDXID | Standard text root | R/O |
|
| STDATA | Standard text data | R/O |
Header Record Assembly Record 1 Assembly Record 2 Engineering Change Record Drawing Data Record Component Record Trailer Record
| Assembly Header | Description | BOMWORK Field Name | ||||||
|---|---|---|---|---|---|---|---|---|
| Item_no | Item number | TSITEM | Item_desc | Item description | TSPDSC | Item_type | Item type | TSTYPN |
| Assembly Process | Description | BOMWORK Field Name | ||||||
|---|---|---|---|---|---|---|---|---|
| Unit_meas | Unit of measure | TSUTMS | Rout_no | Routing number | TSRTNO | Rout_type | Routing type | TSRTTY |
| Engineering Change | Description | BOMWORK Field Name | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chg_no | EC number | TSECNC | Resp_eng | Responsible eng | TSEENG | Chg_stat | EC status code | TSESTC | Chg_reas | EC reason code | TSERSN | Eff_date | Earliest eff date | TSEEFF |
| Drawing | Description | BOMWORK Field Name | |||
|---|---|---|---|---|---|
| Draw_no | Drawing number | TSEDNO | Draw_size | Drawing size |
| Component | Description | BOMWORK Field Name | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Comp_no | Component number | TSCOMP | Comp_seq | Component seq number | TSCSUF | Comp_desc | Component description | TSDESC | Qty_assm | Quantity per assembly | TSQTY | Unit_meas | Unit of measure | TSCUOM | Eng_plng | Engineering planning cd | TSENGP | Bom_stat | EC BOM status code | TSBMTE | Eff_date | Earliest eff date | Item_type | Item type | TSCTYP | mp_code | Mfg planning cd. | TSMFGP |
This program reads the PES self-describing sequential interface file data and loads it to the BOMWORK database. It translates the PES format data into the format required by the Bill of Material load program, EMTODSBL.
| EMTODSER |
| Database | Segment | Segment Description | Mode |
|---|---|---|---|
| EMTDB0E | BOMWORK | Bill of material work | R/W |
| DDXDT0E | STDXID | Standard text root | R/O |
| STDATA | Standard text data | R/O |
| HEAD Structure | ||
|---|---|---|
| Field ID | Description | BOMWORK Field Name |
| RTYP | Request type | |
| SEND | Sender's ID | FBSEND-USER |
| TARG | Target ID (receiver) | FBTARG-USER |
| RQNO | Request Number | FBRQNO |
| RFNO | Reference request number | |
| CADD Structure | ||
|---|---|---|
| Field ID | Description | BOMWORK Field Name |
| CSYS | CAD system | |
| CGRP | CAD group | |
| CUSR | CAD user | |
| CFIL | Drawing-file ID | |
| CMOD | Model-ID (drawing) | TSEDNO |
| SIZE | Drawing size | |
| DENG | Engineer responsible | |
| Date | Drawing creation date | |
| ITEM Structure | ||
|---|---|---|
| Field ID | Description | BOMWORK Field Name |
| ITNO | Item number | TSITEM |
| DSCS | Description short | TSPDSC |
| DSCL | Description long | TSDSCL |
| UOMS | Unit of measure | TSUTMS |
| ITYP | Item type | TSTYPN |
| RTNO | Routing number | TSRTNO |
| RTTY | Routing type | TSRTTY |
| COST | Unit cost (format = N) | TSCOST |
| SURF | Surface quality |
|
| MTRL | Material |
|
| UDIM | Unit of dimensions | TSUDIM |
| LNGT | Length (format = N) | TSLNGT |
| HGHT | Height (format = N) | TSHGHT |
| BRDT | Breadth (format = N) | TSBRDT |
| DIAM | Diameter (format = N) | TSDIAM |
| UWGT | Unit of weight | TSUWGT |
| WGHT | Weight (format = N) | TSWGHT |
| STDD | Standard (e.g. ISO, DIN) number |
|
| ECHD Structure | ||
|---|---|---|
| Field ID | Description | BOMWORK Field Name |
| ECNO | Engineering change number | TSECNC |
| EDAT | EC effectivity date (format = D) | TSEEFF |
| EETC | EC effectivity type code | TSEETC |
| EENG | EC engineer | TSEENG |
| EDSC | EC description | TSEDES |
| ESNO | EC serial number (from) |
|
| ESNT | EC serial number to |
|
| ESCD | EC status code | TSESTC |
| ERCD | EC reason code | TSERSN |
| EEDT | Date EC entered (format = D) | TSEEDT |
| EPRV | Previous EC |
|
| COMP Structure | ||
|---|---|---|
| Field ID | Description | BOMWORK Field Name |
| ITNO | Component (item) number | TSCOMP |
| POSI | Position number in BOM | TSPREFIX |
| DSCS | Description short | TSDESC |
| QNTY | Quantity (format = N) | TSQNTY |
| UOMS | Unit of measure for quantity | TSCUOM |
| ESTT | Engineering status |
|
| COPT | Category option | TSCAT |
| VOPT | Value option | TSVAL |
| ACOD | Action code | TSACT |
| PCOD | Phantom code | TSPHAN |
| EPCO | Engineering planning code | TSENGP |
| MPCO | Manufacturing planning code | TSMFGP |
| CTYP | Component type | TSCTYP |
| CEFD | Component effectivity date (from) (format = D) |
|
| CEFT | Component effectivity date to (format = D) |
|
| BSCO | Engineering BOM status code | TSBMTE |
| CTXT | Comment to BOM position |
|
| CSUF | Component suffix | TSCSUF |
| COFA | Offset adjustment | TSCOFA |
| CPON | Parent operation number | TSCPON |
(Repeat until all records have been read from VSAM file.)
Header Structure (HEAD) CADD Structure (CADD) Item Structure (ITEM) EC Structure (ECHD) Component Structure (COMP) Trailer Structure (TAIL)
This program translates PDI self-describing sequential interface file data into a fixed format interface database. This program is called by the control program, EMTODSCT, when the user requests to load data from the PDI interface. The Bill of Material load program, EMTODSBL, translates bill of material data and places it in the BOMWORK database for processing.
| EMTODSER |
| Database | Segment | Segment Description | Mode |
|---|---|---|---|
| EMTDB0E | BOMWORK | Bill of material work | R/W |
| DDXDT0E | STDXID | Standard text root | R/O |
|
| STDATA | Standard text data | R/O |
| EKNCOMHD Attribute ID | Description | BOMWORK Field Name |
|---|---|---|
| REF_NUMBER | Sender's request number | FBRQNO |
| ACM | Sender's ACM | FBSEND-ACM |
| NET | Sender's network | FBSEND-NET |
| NODE | Sender's node | FBSEND-NODE |
| USR | Sender's userid | FBSEND-USER |
| EUOEB600 Attribute ID | Description | BOMWORK Field Name |
|---|---|---|
| ID | Engineering change number | TSECNCE |
| IL_ACTION | Change attribute code | TSCHATE |
| INITIATOR | Initiator serial number | TSESEN |
| DESCRIPTION | EC description | TSEDES |
| DESIGN_ENGR | EC engineer | TSEENG |
| STATUS | EC status code | TSESTC |
| INIT_DATE | EC creation date | TSEEDT |
| REASON | EC reason code | TSERSN |
| EUOEB700 Attribute ID | Description | BOMWORK Field Name |
|---|---|---|
| IL_EC_NUMBER | Engineering change number | TSECNCI |
| IL_ITEM_NUMBER | Item number | TSITEMI |
| IL_ACTION | Change attribute code | TSCHATI |
| EFF_TYPE | Effectivity type code | TSEETC |
| EFF_DATE | Effectivity date | TSEEFF |
| EUOEB701 Attribute ID | Description | BOMWORK Field Name |
|---|---|---|
| IL_EC_NUMBER | Engineering change number | TSECNCI |
| IL_ITEM_NUMBER | Item number | TSITEMI |
| IL_ACTION | Change attribute code | TSCHATI |
| ACT_EFF_TYPE | Effectivity type code | TSEETC |
| ACT_EFF_DATE | Effectivity date | TSEEFF |
| EUOSB291 Attribute ID | Description | BOMWORK Field Name |
|---|---|---|
| IL_EC_NUMBER | Engineering change number | TSECNCI |
| IL_ITEM_NUMBER | Item number | TSITEMI |
| IL_ACTION | Change attribute code | TSCHATI |
| REFERENCE_ID | Drawing number | TSEDNO |
| EUOSB151 Attribute ID | Description | BOMWORK Field Name |
|---|---|---|
| IL_EC_NUMBER | Engineering change number | TSECNCD |
| IL_ITEM_NUMBER | Item number | TSITEMD |
| IL_TEXT | Long description | TSDSCL |
| EUOSB211 Attribute ID | Description | BOMWORK Field Name |
|---|---|---|
| IL_EC_NUMBER | Engineering change number | TSECNCI |
| IL_ITEM_NUMBER | Item number | TSITEMI |
| IL_ACTION | Change attribute code | TSCHATI |
| ITEM_TYPE | Item type | TSTYPN |
| UNIT_OF_MEASURE | Unit of measure | TSUTMS |
| DESCRIPTION | Description of item | TSPDSC |
| PLANNING | Item type | TSTYPN |
| EUOSB2A1 Attribute ID | Description | BOMWORK Field Name |
|---|---|---|
| IL_EC_NUMBER | Engineering change number | TSECNCI |
| IL_ITEM_NUMBER | Item number | TSITEMI |
| IL_ACTION | Change attribute code | TSCHATI |
| DISBURSE_CODE | Issue type control code | TSISSCTL |
| ITEM_LEAD_TIME | Lead time | TSLDTIME |
| ITEM_YIELD | Shrinkage factor | TSSHRF |
| PLANNING_CODE | Item type | TSTYPN |
| RCPT_CONTROL_CD | Receipt type control code | TSRECCTL |
| SOURCE_CODE | Sourcing code | TSLTCD |
| EUOSB271 Attribute ID | Description | BOMWORK Field Name |
|---|---|---|
| IL_EC_NUMBER | Engineering change number | TSECNCI |
| IL_ITEM_NUMBER | Item number | TSITEMI |
| IL_ACTION | Change attribute code | TSCHATI |
| WEIGHT | Weight per unit | TSWGHT |
| WEIGHT_UNIT | Unit of weight | TSUWGT |
| HEIGHT | Height | TSHGHT |
| HEIGHT_UNIT | Unit of height | TSUHGHT |
| LENGTH | Length | TSLNGT |
| LENGTH_UNIT | Unit of length | TSULNGT |
| BREADTH | Breadth | TSBRDT and TSDIAM |
| BREADTH_UNIT | Unit of breadth | TSUDIM |
| DIAMETER | Diameter | TSBRDT and TSDIAM |
| DIAMETER_UNIT | Unit of diameter | TSUDIM |
| EUOSB251 Attribute ID | Description | BOMWORK Field Name |
|---|---|---|
| IL_EC_NUMBER | Engineering change number | TSECNCI |
| IL_ITEM_NUMBER | Item number | TSITEMI |
| IL_ACTION | Change attribute code | TSCHATI |
| ROUTID | Routing number | TSRTNO |
| ROUT_TYPE_IND | Routing type | TSRTTY |
| EUOSB111 Attribute ID | Description | BOMWORK Field Name |
|---|---|---|
| IL_EC_NUMBER | Engineering change number | TSECNCI |
| IL_ITEM_NUMBER | Item number | TSITEMI |
| IL_ACTION | Change attribute code | TSCHATI |
| BATCH_SIZE | Batch error flag | TSBATCH |
| EUOSA121 Attribute ID | Description | BOMWORK Field Name |
|---|---|---|
| IL_EC_NUMBER | Engineering change number | TSECNCC |
| IL_ITEM_NUMBER | Item number | TSITEMC |
| DISPLAY_SEQ_NUM | Prefix | TSPREFIXC |
| IL_COMP_ITEM_NUMBER | Component item number | TSCOMPC |
| COMP_SEQ_NM | Suffix sequence number | TSCSUFC |
| IL_ACTION | Change attribute code | TSCHATC |
| MEASUR_OBJ_UNIT | Component unit of measure | TSCUOM |
| MEASUR_OBJ | Quantity per assembly | TSQTY |
| ITEM_TYPE | Item type | TSCTYP |
| FEATURE | Option category | TSCAT |
| VARIANT | Option value | TSVAL |
| ACTION_CODE | Action code | TSACT |
| MFG_PLANNING_CODE | Manufacturing plan code | TSMFGP and TSPHAN |
| DESCRIPTION | Component description | TSDESC |
| USAGE_PROBABILITY | Usage probability | TSRATE |
| EUOSA161 Attribute ID | Description | BOMWORK Field Name |
|---|---|---|
| ID | Engineering change number | TSECNCC |
| ID_ITEM_NUMBER | Item number | TSITEMC |
| IL_COMP_ITEM_NUM | Component item number | TSCOMPC |
| COMP_SEQ_NM | Suffix sequence number | TSCSUFC |
| IL_ACTION | Change attribute code | TSCHATC |
| OPER_ID | Parent operation number | TSCPON |
| IL_QUAN_UNIT_ID | Component unit of measure | TSCUOM |
| IL_QUAN_VALUE | Quantity per assembly | TSQTY |
| SCRAP_FACTOR | Scrap factor | TSSCRP |
| IL_LEAD_TIME_UNIT_ID | Offset adjustment unit | TSCOFA |
| IL_LEAD_TIME_VALUE | Offset adjustment | TSCOFA |
Main Program Flow
Administrative Decode
Dictionary Decode
Decode Dictionary Attributes
Object Decode
Decode Object Attributes
This program retrieves messages from the Standard Text Database and returns messages to the calling program. The program is designed for message retrieval for asynchronous programs already scheduled the PSB.
| Database | Segment | Segment Description | Mode |
|---|---|---|---|
| EMTDB0E | BOMWORK | Bill of material work | R/W |
| DDXDT0E | STDXID | Standard text root | R/O |
|
| STDATA | Standard text data | R/O |