Previous Topic: Important ConceptsNext Topic: Other Things You Could Do


PROC Example

The following panel shows how the variable IDs and fill characters for this PROC were inserted. (Select PROCESS MODE with <PF12> and press <PF4> SAVE to save the PROC.)

Sample PROC EDITOR Panel

=> ------------------------------------------------------------------------DQD10 DATAQUERY: EDITOR ----------------------------------------------------------------------------- NAME: SITEJCL________ TYPE: PROC__ DESCRIPTION: NEW COMPANY JCL ___ ....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+. .. ================================ T O P ===================================== 01 //1?DQBATCH_ JOB (DAL-BO7,DQ110103),DQ,MSGCLASS=T, 02 // USER=2?USERID,____________ 03 // PASSWORD=3?PASSWORD 04 // EXEC PGM=DQBATCH 05 //STEPLIB DD DSN=datacom.products.loadlib 06 . 07 . 08 . 09 . 10 //SYSPRINT DD SYSOUT=* =========================== B O T T O M ================================== ----------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN <PF3> DISPLAY COLUMNS<PF4> DISPLAY KEYS <PF5> DISPLAY ALL <PF6> LIST TABLES<PF7> BACKWARD <PF8> FORWARD <PF9> TEMPLATE <PF10> VALIDATE <PF11> RIGHT/LEFT <PF12> PROCESS MODE

The following list explains each entry/selection. These items are only examples and are not hardcoded.

1?DQBATCH_

Change the job name.

2?USERID,_______

Change the user ID.

3?PASSWORD__

Change the password.

PROCESS MODE

<PF4> SAVE

Save the PROC definition so far.