0% found this document useful (0 votes)
82 views

Admin Task: 1) Integration With 3 Party Tools Barcode Labelling Software To Print Labels and Shipping Purpose

1) The document discusses various administrative tasks in an IBM i system including integrating barcode labeling software, sending reports via email in different formats, accessing databases using commands like STRPDM and WRKQRY, changing database file descriptions and attributes using CHGPF, and recovering databases using journaling and commands like RSTOBJ. 2) It provides information on using constraints like unique, primary key, and check constraints to ensure data integrity when adding, changing, or removing records from physical files. The WRKPFCST and ADDPFCST commands can be used to work with constraints. 3) Database integrity can also be maintained through journaling which records changes at the record level to allow undoing changes

Uploaded by

CM
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
82 views

Admin Task: 1) Integration With 3 Party Tools Barcode Labelling Software To Print Labels and Shipping Purpose

1) The document discusses various administrative tasks in an IBM i system including integrating barcode labeling software, sending reports via email in different formats, accessing databases using commands like STRPDM and WRKQRY, changing database file descriptions and attributes using CHGPF, and recovering databases using journaling and commands like RSTOBJ. 2) It provides information on using constraints like unique, primary key, and check constraints to ensure data integrity when adding, changing, or removing records from physical files. The WRKPFCST and ADDPFCST commands can be used to work with constraints. 3) Database integrity can also be maintained through journaling which records changes at the record level to allow undoing changes

Uploaded by

CM
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 11

Admin Task

1) Integration with 3rd Party Tools

Barcode Labelling software to print labels and shipping purpose

PDFING:-
To report sending via email purpose like Text or PDF format we can send it to the
customer.

GE MSAT Internal
Take option 1 to send email then press F4 and mention email address and type: test or
pdf.

Page down

Then enter it … you will get email report in TEXT or pdf based.

GE MSAT Internal
Take option 1 and the press F4 to send network spool file user id and address..

Press F22 (work with Printers to start or stop the printer works.

To Generate Excel-File on I series:-

IXLSGEN take F4 and mention File name, email address etc…

GE MSAT Internal
2) Modes of accessing Databases?
STRPDM enter it. To work with Libraries/objects/members purpose.

GE MSAT Internal
Take option 1,

GE MSAT Internal
Work with Objects option2,

Option 3 , Work with Members,

GE MSAT Internal
Managing Database Members
WRKDBF and press F4,

Enter it , now db file will be displayed… here you can choose depends on requirement
and work with DB file.

GE MSAT Internal
WRKQRY command used to extract the database.

3) Changing Database File Descriptions and Attributes:-

Use the Change Physical File (CHGPF) command to change some of the attributes of
a physical file and its members.
OVRDBF FILE (FILEA) TOFILE (LIBA/FILEC)

Using Database Attribute and Cross-Reference Information


Use DSPDBR PODEBT and enter it. Here you will get the database relationships like
dependent File, library details.

4) Recovering and restoring database


Through Journal and RSTOBJ/RSTLIB via recovering the data from tape.

Note: - Only we have 4 weeks data only we can recover. If more than Four weeks data
we can’t recover it.

Using RSTOBJ and press F4,

GE MSAT Internal
Library Restore:-

RSTLIB SAVLIB (AMFLIB) DEV (TAP01) STRLIB (VASANTH).

Journaling:-
Journaling works on Physical files. The primary function of journaling is to store
record level database changes and allow those changes to be "rolled back" or undone,
if needed. When a file is journaled, any changes at the record level are recorded to the
journal first and are then applied to the database record. This is not to say that

GE MSAT Internal
journaling will always be able to undo any changes that you've done to a file, but it
does provide reasonably good protection and a good audit trail

CAS option 13, here we can choose create/ start/ End /Delete Journals.

5) Using Source Files


Use cmd: STRPDM and choose option 3 work with members and choose file and
library then choose file and edit.

6) Controlling the integrity of your database with constraints

A constraint is a restriction or limitation placed on a database file to ensure that the data in
your database remains consistent when you add, change, and remove records.

GE MSAT Internal
 Unique constraints and primary key constraints let you create enforced unique keys
for a physical file beyond the file access path.

 Check constraints provide another check for the validity of your data by testing the
data in an expression.

WRKPFCST \ ADDPFCST

The display lists the constraint names, the file name, and the library name. In addition, the
following information is displayed:
 The Type column identifies the constraint as referential, check, unique, or primary
key.

 The State column indicates whether the constraint is defined or established and
whether it is enabled or disabled. The State column only applies to referential and
checks constraints.

 The Check Pending column contains the check pending status of the constraint.
Unique and primary key constraints do not have a state because they are always
established and enabled.

For each of the listed constraints, you can perform the following actions:
 To change a referential or check constraint to any of its permissible states, select
Change (option 2). For example, you can enable a constraint that is currently disabled.
This option performs the same functions as the Change Physical File Constraint
(CHGPFCST) command.

 To remove a constraint, select Remove (option 4). This option performs the same
functions as the Remove Physical File Constraint (RMVPFCST) command.

 To display the records that are in check pending state, select Display (option 6). This
option performs the same functions as the Display Check Pending Constraint
(DSPCPCST) command. The DSPCPCST command applies only to referential and
checks constraints.

GE MSAT Internal

You might also like