0% found this document useful (0 votes)
16 views2 pages

New Procedure

The document outlines 11 steps to create and run a batch job that checks account balances: 1. Upload required routines and a saved list file. 2. Compile routines and create a work file and program files for the balance check routine and a create saved list routine. 3. Create a batch job record to run the balance check routine daily. 4. Create a TSA service to run the batch job and test by running the balance check routine directly. 5. Running the job and routine will create a saved list file to share.

Uploaded by

Greeni Marco
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views2 pages

New Procedure

The document outlines 11 steps to create and run a batch job that checks account balances: 1. Upload required routines and a saved list file. 2. Compile routines and create a work file and program files for the balance check routine and a create saved list routine. 3. Create a batch job record to run the balance check routine daily. 4. Create a TSA service to run the batch job and test by running the balance check routine directly. 5. Running the job and routine will create a saved list file to share.

Uploaded by

Greeni Marco
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Steps to follow:

1. Create a local BP and FTP the attached routines CHECK.ACC.BALANCE,


CHECK.ACC.BALANCE.LOAD, CHECK.ACC.BALANCE.SELECT and insert file
I_CHECK.ACC.BALANCE.COMMON
2. FTP the savedlist file PROB.ACCT.IDS to the &SAVEDLISTS& directory

3. Compile and catalog the routines. Check the jshow output.

4. Create FILE.CONTROL for ACCT.DETS.WORK like below.


 
    FILE.............. ACCT.DETS.WORK
---------------------------------------------
   1. 1 DESCRIPTION.... ACCT.DETS.WORK
   2 PRODUCT........... AC
   4 FILE TYPE......... 4
   5 FILE MODULO....... 15
   6 CLASSIFICATION.... FIN
  20 CURR.NO........... 2

5. Login to T24 application prompt and run the CREATE.FILES program to create the above table in
T24. 
     a. Execute CREATE.FILES from T24 
     b. Enter the company mnemonic for COMPANY CODE 
     c. Hit enter for LIST.NAME  
     d. Enter the work file name (ACCT.DETS.WORK) for FILE NAME 
     e. Hit enter for FILE NAME (asked again) 
     f.  Hit 'Y'.

6. Create a PGM.FILE for CHECK.ACC.BALANCE with type B

PROGRAM CHECK.ACC.BALANCE
------------------------------------------------------------------------------
1 TYPE.............. B
2. 1 GB SCREEN.TITLE CHECK.ACC.BALANCE
4. 1 BATCH.JOB...... @BATCH.JOB.CONTROL
5 PRODUCT........... AC
26 CURR.NO........... 1

Note: You can add the bulking, if required


7. Create a PGM.FILE for CREATE.SL.FROM.FILE as below,

     PROGRAM            CREATE.SL.FROM.FILE


 ------------------------------------------------------------
   1 TYPE.............. M
   2. 1 GB SCREEN.TITLE CREATE.SL.FROM.FILE
   5 PRODUCT........... AC

8. Create a BATCH record XXX/CHECK.ACC.BALANCE as mentioned below

BATCH PROCESS..... BNK/CHECK.ACC.BALANCE


------------------------------------------------------------------------------
3 PROCESS.STATUS.... 0 READY
4 BATCH.ENVIRONMENT. F FOREGROUND
6. 1 JOB.NAME....... CHECK.ACC.BALANCE
8. 1 FREQUENCY...... D DAILY
12. 1 JOB.STATUS..... 0 READY
13. 1 LAST.RUN.DATE.. 13 JAN 2010
28 CURR.NO........... 2

9. Create a TSA.SERVICE for XXX/CHECK.ACC.BALANCE and run the service


10. After completing the service, Open a new session and run the routine as a mainline routine from
the application prompt.
11. This will create the saved list ACCT.DETS.WORK.AC in &SAVEDLISTS& directory, Kindly share us
this saved list file.

You might also like