DSPSQLINF – DISPLAY IBM I SQL INFORMATION FOR A PROGRAM

0 Comments

DSPSQLINF Display SQL Information for PRC

The DSPSQLINF (Display SQL Information) command will show the structured query language attributes of the selected program.

This works for ILE objects and will show embedded SQL information for any modules within those ILE programs.

DSPSQLINF OBJ(PGMNAME) 
DSPSQLINF - DISPLAY IBM I SQL INFORMATION FOR A PROGRAM

The SQL program will be interrogated all the SQL information contained within that object will be displayed. 

For example, looking at the SQL Process that purges data as part of the Data Obfuscation Tool (PRGDTA) would show you this: 

DSPSQLINF OBJ(PRGDTA) OBJTYPE(*PGM)
DSPSQLINF OBJ(PRGDTA)

About the author 

Software Projex

Home of free IBM i | System i | iSeries | AS400 software utilities since the twentieth century.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
Subscribe to get the latest updates
>