BTS Batch JCL, BTSIN file



IBM's hierarchical database management system with a Database Manager (IMS DB) and a Transaction Manager(IMS DC)

BTS Batch JCL, BTSIN file

Postby jfdutcher » Mon Jul 07, 2014 5:26 pm

The lines below show my attempt to get a simple Batch BTS run to complete. The content of the BTSIN file is shown, the error that results and also what is displayed in the held output queue. Does anyone have an idea on what change would allow the BTSIN file to be correct ?

BTSIN input:

//G.BTSIN DD *
./T TC=TPROV LANG=CBL MBR=TP2P0100 PSB=TP2P0100 TYPE=MSG
./D DDOF=327029 EOM=$
/FORMAT MO9318E1
TPROV
L21C25 '06' L21C53 '000007059'
ENTER $
/*

BTSOUT:

********************************* Top of Data **********************************
PAGE 0001 B A T C H T E R M I N A L S I M U L A T O R ' B T
BTS0007I BTS V4R1 SIMULATION STARTED. TIME=06:33:55, DATE=2014.186, IMS=12.1.
BTS0002I INPUT RECORD: ./T TC=TPROV LANG=CBL MBR=TP2P0100 PSB=TP2P0100 TYPE=MS
BTS0002I INPUT RECORD: ./D DDOF=327029 EOM=$
BTS0002I INPUT RECORD: /FORMAT MO9318E1
BTS0043W UNABLE TO LOAD ERROR MESSAGE OUTPUT DESCRIPTION
BTS0032I OUTPUT QUEUE NOT EMPTY AT A/P RETURN. NUMBER OF MESSAGES: 00001
BTS0002I INPUT RECORD: TPROV
BTS0021E TRANSACTION ABNORMALLY TERMINATED. COMPLETION CODE WAS U1001.
( My efforts at 'Googling' for U1001 seem only to say something about address space, but I don't relate to it)

Held output queue messages:

IEF237I JES2 ALLOCATED TO BTSIN
IEF237I JES2 ALLOCATED TO DFSVSAMP
IEA995I SYMPTOM DUMP OUTPUT
USER COMPLETION CODE=1001
TIME=06.33.55 SEQ=07405 CPU=0000 ASID=0208
PSW AT TIME OF ERROR 078D1000 BD4F0DEC ILC 2 INTC 0D
ACTIVE LOAD MODULE ADDRESS=3D4E3D80 OFFSET=0000D06C
NAME=DFSDLBL0
jfdutcher
 
Posts: 9
Joined: Mon Apr 28, 2014 10:53 pm
Has thanked: 0 time
Been thanked: 0 time

Re: BTS Batch JCL, BTSIN file

Postby Ed Goodman » Mon Jul 07, 2014 5:58 pm

User Response:
Verify that the DOF FEATURE option agrees with the FEAT= operand coded on
the ./D or ./T command, that the correct version of the IMS format blocks
are being used, that MOD and DOF compilation date and time match, that the
IMS error default output descriptions are in the format data set, and that
no I/O error has occurred. If necessary, rebuild the format blocks.

All of my BTSIN card sets have:
./D DDOF=327029
./D TYPE=3270-A2 SIZE=(24,80)

This matches up with all of our MFS files statements of:
DEV TYPE=3270-A2,FEAT=IGNORE,

I think what BTS is trying to say is that it can't find a screen DOF to match the message format. That would explain the fact that it was left with messages in the output queue.

In your situation, I would find an existing BTS proc, and run an existing transaction/program through it until you were sure your JCL is in good order. THEN try your program.
Ed Goodman
 
Posts: 341
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times

Re: BTS Batch JCL, BTSIN file

Postby jfdutcher » Mon Jul 07, 2014 10:53 pm

Very helpful.....revised some region setting parameters and actually got the BTSRC000 program to take off. It fails though with a U4083, which the Google exercises say is maybe due to "an invalid backward chain pointer". It's bizzare not to get something a bit more informative.
jfdutcher
 
Posts: 9
Joined: Mon Apr 28, 2014 10:53 pm
Has thanked: 0 time
Been thanked: 0 time

Re: BTS Batch JCL, BTSIN file

Postby Ed Goodman » Tue Jul 08, 2014 5:39 pm

Don't blame IMS for not having good messages when you're searching for them on Google!

Make sure you are looking at the message manual for the program that is actually throwing the error.

Did you find existing JCL/procs that work? If so, what kind of memory allowance (REGION=) parm did they have?
Ed Goodman
 
Posts: 341
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times


Return to IMS DB/DC

 


  • Related topics
    Replies
    Views
    Last post