Search found 4 matches

by Seema Jain
Tue Feb 09, 2016 12:04 pm
Forum: IBM DB2 and IMS DB/DC
Topic: Help needed in SQLCODE -401.
Replies: 4
Views: 771

Re: Help needed in SQLCODE -401.

Thanks all.

Code: Select all

WHERE DATE(TIMESTAMP_COLUMN) > CURRENT DATE - 7 YEARS;  
has worked. :)
by Seema Jain
Tue Feb 09, 2016 12:02 pm
Forum: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
Topic: Limit the display of records while copy.
Replies: 2
Views: 415

Re: Limit the display of records while copy.

Thanks for your help William Collins. This JCL has worked for me

Code: Select all

//STEP1 EXEC PGM=SORT 
//SYSOUT DD SYSOUT=* 
//SORTIN DD DSN=my.tape.dataset,DISP=SHR 
//SORTOUT DD DSN=my.disk.dataset, 
// DISP=(,CATLG,DELETE), 
// UNIT=WORK,SPACE=(CYL,(50,100),RLSE) 
//SYSIN DD * 
OPTION COPY 
STOPAFT=500
/*
by Seema Jain
Mon Jan 04, 2016 4:26 pm
Forum: IBM DB2 and IMS DB/DC
Topic: Help needed in SQLCODE -401.
Replies: 4
Views: 771

Help needed in SQLCODE -401.

Hello all-

I am using the following query: Please suggest how to correct it ?

Code: Select all

SELECT * FROM TABLEN  
some conditions
WHERE timestamp_column > CURRENT DATE - 7 YEARS; 

I am simply trying to get the data of 7 years from current date. But it ends in SQLCODE -401.


Thank you.
by Seema Jain
Mon Jan 04, 2016 4:22 pm
Forum: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
Topic: Limit the display of records while copy.
Replies: 2
Views: 415

Limit the display of records while copy.

Hi, Some of the files are on tape and have a very huge volume of data. I am trying to bring it on disk to see the records. Could anyone tell me how to limit the display of records on disk while copying from tape. I do not want take copy of al the data, I just want to see some sample data. I am using...

Go to advanced search