Search found 109 matches

by Akatsukami
Wed Jan 06, 2016 5:48 pm
Forum: IBM DB2 and IMS DB/DC
Topic: Getting SQLCODE -927 with a new COBOL-DB2 program.
Replies: 3
Views: 2458

Re: Getting SQLCODE -927 with a new COBOL-DB2 program.

Explicitly link with the necessary interface module.
by Akatsukami
Tue Jan 05, 2016 1:06 pm
Forum: TSO, ISPF & REXX (Do you still do CLIST?!).
Topic: Bring back the earlier version of dataset.
Replies: 6
Views: 839

Re: Bring back the earlier version of dataset.

It depends; what, if any, backups are being run?
by Akatsukami
Tue Jan 05, 2016 1:04 pm
Forum: IBM DB2 and IMS DB/DC
Topic: DB2 Catalog Tables for DB2 11.
Replies: 1
Views: 347

Re: DB2 Catalog Tables for DB2 11.

You can get information on recent releases of DB2 here.
by Akatsukami
Mon Jan 04, 2016 7:38 pm
Forum: IBM DB2 and IMS DB/DC
Topic: Table REORG and bind the programs.
Replies: 5
Views: 869

Re: Table REORG and bind the programs.

Although DB2 is not my area of greatest expertise, I believe that your process would be REORG, RUNSTATS (to establish new access paths to the reorganized data), and (RE)BIND (to allow use of those new access paths).
by Akatsukami
Thu Dec 31, 2015 5:39 pm
Forum: Site Announcements and Rules.
Topic: Happy New Year 2016.
Replies: 18
Views: 2529

Re: Happy New Year 2016.

But it's not October yet ;)
by Akatsukami
Wed Dec 30, 2015 5:36 pm
Forum: Interview Questions.
Topic: How to solve S0C7?
Replies: 4
Views: 1268

Re: How to solve S0C7?

But how does a length matter apart from an abend when we verify that the length is same at the time of abend as at the time of abend? If the lengths differ then the machine code (and static variables) differ; the two modules are very unlikely to abend at the same offset (indeed, one may not abend a...
by Akatsukami
Wed Dec 30, 2015 5:25 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: It is not the "length of the file" it is the record-length.
Replies: 13
Views: 1386

Re: It is not the "length of the file" it is the record-length.

Thanks but in JCL we always make use of LRECL which actually mean logical record length and relate to the dataset mentioned there. Then is it actually relating to the records and not the data set? That is basically correct, although that you won't "always make use of LRECL"; you do not us...
by Akatsukami
Tue Dec 29, 2015 6:20 pm
Forum: TSO, ISPF & REXX (Do you still do CLIST?!).
Topic: DB2 queries using rexx.
Replies: 4
Views: 717

Re: DB2 queries using rexx.

HI,Can we code DB2 queries using rexx? Certainly. How can we do that? By establishing a DB2 environment via RXSUBCOM (most shops use the IBM-supplied DSNREXX command processor; mine, however, uses Open Software's RXTASQL). Then, you can use embedded or dynamic SQL as with any other language. Can yo...
by Akatsukami
Fri Dec 25, 2015 3:24 am
Forum: IBM DB2 and IMS DB/DC
Topic: Usage of LONGVAR datatype in DB2.
Replies: 2
Views: 697

Re: Usage of LONGVAR datatype in DB2.

I believe that it is obsolete and has been replaced by LOBs. Moreover, VARCHAR has a maximum length of 32,704 in DB2 V11.0.
by Akatsukami
Thu Dec 24, 2015 3:14 am
Forum: IBM DB2 and IMS DB/DC
Topic: What are temporal tables ?
Replies: 3
Views: 472

Re: What are temporal tables ?

narinderc, you may find this of use.
by Akatsukami
Fri Dec 18, 2015 5:38 pm
Forum: IBM DB2 and IMS DB/DC
Topic: Solving SQLCODE= -303.
Replies: 5
Views: 912

Re: Solving SQLCODE= -303.

Are you using DSNTIAD to format the message? If not, do so and display to a suitable DDname.
by Akatsukami
Wed Dec 16, 2015 8:33 pm
Forum: TSO, ISPF & REXX (Do you still do CLIST?!).
Topic: Count the number of records in a Dataset using REXX.
Replies: 15
Views: 6970

Re: Count the number of records in a Dataset using REXX.

You can easily write an exec fulfilling this requirement by reading the data set and incrementing a counter each time a record is read, then SAYing that counter at the end. Performance may range from adequate to unacceptable depending on the size of the data set. Note that what Mr. Collins and Dr. S...
by Akatsukami
Wed Dec 16, 2015 1:05 am
Forum: Thought of the Day, General Talk & Jokes.
Topic: Good Eats
Replies: 15
Views: 2715

Re: Good Eats

Yes; although my health sometimes precludes cooking, I generally cook at least once a week (making several portions each time, so that a lot of my meals are leftovers :)) and often bake breakfasts or desserts.
by Akatsukami
Mon Dec 14, 2015 6:32 am
Forum: Thought of the Day, General Talk & Jokes.
Topic: Good Eats
Replies: 15
Views: 2715

Good Eats

Chili Chicken Monterey 4 boneless, skinless chicken breast halves 1½ tsp. salt ¾ tsp. freshly ground black pepper 1 Tbsp. butter 8 oz. portobello mushrooms, sliced 2 jalapeños, seeded and chopped 1½ tsp. onion powder ½ cup shredded cheese[sup]1[/sup] Pre-heat oven to 375°F. Place chicken in baking ...
by Akatsukami
Thu Dec 10, 2015 9:58 pm
Forum: IBM DB2 and IMS DB/DC
Topic: Saving data in dataset using QMF.
Replies: 4
Views: 959

Re: Saving data in dataset using QMF.

The EXPORT command can also be used in CICS, albeit with different syntax and to different ends; therefore the manual distinguishes between the two environments.
by Akatsukami
Wed Dec 09, 2015 5:22 pm
Forum: You are a Guest.
Topic: ESDS VSAM dataset and alternate INDEX.
Replies: 8
Views: 2118

Re: ESDS VSAM dataset and alternate INDEX.

But what are the practical usage of alternate INDEX in ESDS? Can this concept mimic the functionality of KSDS then? It could be used, for example, if name and address are being written to the ESDS in fixed positions to index the zip code for retrieval by location instead of however they were entere...
by Akatsukami
Sun Dec 06, 2015 7:14 pm
Forum: You are a Guest.
Topic: ESDS VSAM dataset and alternate INDEX.
Replies: 8
Views: 2118

Re: ESDS VSAM dataset and alternate INDEX.

The alternate keys for an ESDS do not relate to primary keys (which you correctly state do not exist for ESDS) but to RBAs. You may benefit from reading VSAM Demystified.
by Akatsukami
Sun Dec 06, 2015 7:01 pm
Forum: You are a Guest.
Topic: IDCMAS DELETE ends with RC=08.
Replies: 3
Views: 1215

Re: IDCMAS DELETE ends with RC=08.

The IDCAMS command is wrong; it should be DELETE FILE(ddname), hence the RC=8. If the disposition is (MOD,DELETE), the data set is deleted by the OS, not IDCAMS; if the disposition is OLD (which implies KEEP, KEEP), it is not deleted.
by Akatsukami
Sat Dec 05, 2015 12:56 am
Forum: IBM DB2 and IMS DB/DC
Topic: Find view's definition in DB2.
Replies: 4
Views: 783

Re: Find view's definition in DB2.

What information are you seeking?

Go to advanced search