Author |
Message |
Topic: Using message properties in MQ |
powerhawk
Replies: 2
Views: 5859
|
Forum: CICS and Middleware Posted: Wed Jan 13, 2016 10:27 am Subject: Using message properties in MQ |
The best thing with Forums like this is when you describe your problem you increase the possibility of solving the problem. I've solved it myself.
Added the statement MOVE MQPMO-VERSION-3 TO MQPMO-VE ... |
Topic: Using message properties in MQ |
powerhawk
Replies: 2
Views: 5859
|
Forum: CICS and Middleware Posted: Wed Jan 13, 2016 8:28 am Subject: Using message properties in MQ |
I'm struggle with having this to work but I fail.
I've set the message properties using
CALL 'MQCRTMH' and CALL 'MQSETMP' getting 0 in Compcode and reasoncode
In the MQPUT session I've moved the ... |
Topic: CICS Transaction Invoking from Batch |
powerhawk
Replies: 4
Views: 6364
|
Forum: CICS and Middleware Posted: Mon Jan 08, 2007 5:05 am Subject: CICS Transaction Invoking from Batch |
This is a sample from a JCL I use. The only extra for me is the libraries in the JOBLIB statements, CICS.CICSTS23.. and I guess CEE.SCEERUN.
You also have to compile the program to include the CICS s ... |
Topic: Performance when converting uppercase to lowercase |
powerhawk
Replies: 3
Views: 2130
|
Forum: Application Programming Posted: Fri Jan 13, 2006 4:21 am Subject: Performance when converting uppercase to lowercase |
We have a frequently used function for translating uppercase to lowercase. The Cobol code we use is:
INSPECT TEST-DATA3CONVERTING 'ABCDEFGHIJKLMNOPQRSTUVWXY |
Topic: Is it possible to call same cobol pgm frm CICS and Batch? |
powerhawk
Replies: 6
Views: 4794
|
Forum: Application Programming Posted: Fri Apr 22, 2005 7:20 am Subject: Is it possible to call same cobol pgm frm CICS and Batch? |
Yes, you need a step in the compile job to translate EXEC CICS till Call 'DFHXCIE' using...
In our installation:
//TRN EXEC PGM=DFHECP1 |
Topic: Is it possible to call same cobol pgm frm CICS and Batch? |
powerhawk
Replies: 6
Views: 4794
|
Forum: Application Programming Posted: Wed Apr 20, 2005 6:36 am Subject: Is it possible to call same cobol pgm frm CICS and Batch? |
You can also call a CICS program from a batch program. Like this:
EXEC CICS LINK PROGRAM ('LK0200')
TRANSID ('EXCI') ... |
Topic: Lose cursor position then goback from a DL/1 subprogram |
powerhawk
Replies: 1
Views: 1692
|
Forum: Database Posted: Wed Apr 13, 2005 4:25 am Subject: Lose cursor position then goback from a DL/1 subprogram |
I declare and open a cursor in a DB2 database. After some fetch I call a subprogram reading a DL/1 database. When the subprogram terminates the PSB a syncpoint is done. And the syncpoint make the call ... |
Topic: UNSTRING in to a TABLE. |
powerhawk
Replies: 4
Views: 3183
|
Forum: Application Programming Posted: Fri Mar 11, 2005 2:16 am Subject: UNSTRING in to a TABLE. |
I'am sorry to blame you Kolusu. But your code open up for a unpredictable adress error. Change to WS-SUB > 200. And the PERFORM statement will be execute for every input record if (I suppose you have ... |
Topic: how to extract using cobol & easytrieve |
powerhawk
Replies: 2
Views: 2365
|
Forum: Application Programming Posted: Mon Feb 14, 2005 5:49 am Subject: how to extract using cobol & easytrieve |
I understand the task like this:
A parameter will give you the start tag, in the sample above it's <WAA>. The start tag can have any length, not just 5 characters. You want the data string from ... |
Topic: Improve Performance |
powerhawk
Replies: 17
Views: 7498
|
Forum: Application Programming Posted: Thu Feb 03, 2005 6:43 am Subject: Improve Performance |
Sorry I don't know. I would fix a table sorted in ascending order on both fields and try. If it's possible you can also avoid to load all items with dia-num outside 4000-4999, or create a work table a ... |
Topic: Improve Performance |
powerhawk
Replies: 17
Views: 7498
|
Forum: Application Programming Posted: Thu Feb 03, 2005 2:28 am Subject: Improve Performance |
Here is sample code:
05 FSALLMJ-WORK-LKFTABELL.
07 FSALLMJ-I-TOPLKF PIC S9(4) COMP.
07 FSALLMJ-I-MAXLKF PIC S9(4) COMP VALUE 500.
07 FSAL ... |
Topic: Improve Performance |
powerhawk
Replies: 17
Views: 7498
|
Forum: Application Programming Posted: Wed Feb 02, 2005 10:59 am Subject: Improve Performance |
I guess you can get a small speed improvement by moving CUST-NUM(index2) to a field declared outside the table, like W-CUST-NUM, and change the test in the SEARCH statement to: WHEN CUST-NUM(index1) = ... |
Topic: Improve Performance |
powerhawk
Replies: 17
Views: 7498
|
Forum: Application Programming Posted: Wed Feb 02, 2005 10:54 am Subject: Improve Performance |
It's no big performance difference between SEARCH and SEARCH ALL if you have a small table (10-50 entries). If it's possible to put the most search values in the first entries you can get better perfo ... |
Topic: Sorting problems after migrating to Cobol/370 |
powerhawk
Replies: 2
Views: 1991
|
Forum: Application Programming Posted: Tue Jan 11, 2005 5:00 am Subject: Sorting problems after migrating to Cobol/370 |
It's a little bit tricky to sort variable length records. The described error occurs for example if the program don't understand that the SD file contains variable length records. But I don't know if ... |
Topic: Sorting problems after migrating to Cobol/370 |
powerhawk
Replies: 3
Views: 2143
|
Forum: Application Programming Posted: Mon Jan 10, 2005 10:29 am Subject: Sorting problems after migrating to Cobol/370 |
We did the same migration some years ago and had no problems with internal sort.
Let us know if your site is in a country with letters other than A-Z. This often cause problems.
Do you use the same ... |
|