| Author |
Message |
Topic: Query in Write |
sandip
Replies: 13
Views: 6676
|
Forum: Application Programming Posted: Thu Dec 16, 2004 2:49 am Subject: Query in Write |
Phantom,
Yes, I can see in some cases values are changing/does not changing after WRITE is issued successfully (I have checked the file status). The output file shows correct value i.e., the value be ... |
Topic: Query in Write |
sandip
Replies: 13
Views: 6676
|
Forum: Application Programming Posted: Thu Dec 16, 2004 1:33 am Subject: Query in Write |
Hi Phantom,
I understand and thank you for your information.
Can you please suggest how the value changes if we try to display the same? Is it random?
Regards,
Sandip. |
Topic: Query in Write |
sandip
Replies: 13
Views: 6676
|
Forum: Application Programming Posted: Thu Dec 16, 2004 12:57 am Subject: Query in Write |
Hello Board,
I have used following code -
FD CRF-FILE.
01 CRF-RECORD.
05 ....
05 ....
.
.
05 CRF-CATEGORY PIC 9(05)
.
.
And aft ... |
Topic: How to calculate VSAM total records nubmer? |
sandip
Replies: 4
Views: 7688
|
Forum: Data Management Posted: Tue Oct 19, 2004 3:58 am Subject: How to calculate VSAM total records nubmer? |
| Is there any bindings that you have to use COBOL? Using LISTCAT, you can easily find the number of records in VSAM file. |
Topic: How to find out the library from which the program is loaded |
sandip
Replies: 3
Views: 2950
|
Forum: TSO and ISPF Posted: Thu Oct 07, 2004 3:40 am Subject: How to find out the library from which the program is loaded |
ISRFIND command can help.
Put -
Member Name ==> COMPARE
LOADMOD ==> Y |
Topic: VSAM Space Allocation |
sandip
Replies: 5
Views: 10076
|
Forum: Data Management Posted: Wed Oct 06, 2004 5:31 am Subject: VSAM Space Allocation |
Hi Deepesh,
For VSAM, you have to consider Key length, CI CA % and CISIZE also for better calculation.
Regards,
Sandip. |
Topic: SORT vs IDCAMS |
sandip
Replies: 2
Views: 5940
|
Forum: Utilities Posted: Wed Sep 22, 2004 10:23 am Subject: SORT vs IDCAMS |
Kolusu,
That link is wonderful. I am waiting for the next part as Jim Moore has indicated. Please give me the link if possible and some other documents from Naspa. I am really interested anything abo ... |
Topic: SORT vs IDCAMS |
sandip
Replies: 2
Views: 5940
|
Forum: Utilities Posted: Tue Sep 21, 2004 8:49 pm Subject: SORT vs IDCAMS |
Hello Gurus,
Now we are working on fine tuning a system to improve the performance of Batch Flow and to reduce the batch window time. In doing so, I have heard that for large number of records, SOR ... |
Topic: DATE Arithmetic in COBOL..(any functions) |
sandip
Replies: 10
Views: 12792
|
Forum: Application Programming Posted: Tue Sep 21, 2004 8:34 pm Subject: DATE Arithmetic in COBOL..(any functions) |
Hasan,
INTEGER-OF-DATE and DATE-OF-INTEGER should take care of leap year automatically. Are you sure it is not working? Then I have to change our side one program also.
regards,
Sandip. |
Topic: DATE Arithmetic in COBOL..(any functions) |
sandip
Replies: 10
Views: 12792
|
Forum: Application Programming Posted: Tue Sep 21, 2004 5:57 am Subject: DATE Arithmetic in COBOL..(any functions) |
Kolusu,
Simple solution with just one limitatation -
Your solution will not work for 29th. Feb of a leap year and we want to subtract some(not 4) years from it.
Regards,
Sandip. |
Topic: DATE Arithmetic in COBOL..(any functions) |
sandip
Replies: 10
Views: 12792
|
Forum: Application Programming Posted: Tue Sep 21, 2004 4:14 am Subject: DATE Arithmetic in COBOL..(any functions) |
I will use this code if you add particular no of days with a particular date -
COMPUTE OUTPUT-DATE = FUNCTION DATE-OF-INTEGER(FUNCTION INTEGER-OF-DATE(WS-CURRENT-DATE) + INPUT-NO)
... |
Topic: About Sort |
sandip
Replies: 2
Views: 1754
|
Forum: Utilities Posted: Tue Sep 14, 2004 4:52 am Subject: About Sort |
It depened on the SORT parameter you are using. Using INREC, OUTREC we can change the length of the SORTOUT File. It can be changed by many other methods also.
Regards,
Sandip. |
Topic: Saving a Sequential file in view mode. |
sandip
Replies: 2
Views: 1827
|
Forum: TSO and ISPF Posted: Mon Sep 06, 2004 5:03 am Subject: Saving a Sequential file in view mode. |
The same command should work for PS also...Why don't you try and let us know your finding. I have tried and I'm successful.
regards,
Sandip. |
Topic: Difference between COBOL COPY and ++INCLUDE |
sandip
Replies: 5
Views: 6907
|
Forum: Application Programming Posted: Mon Sep 06, 2004 12:49 am Subject: Difference between COBOL COPY and ++INCLUDE |
As far as output of the program is concerned, there is no difference.
I think from efficiency point of view, I don't think that there will be any difference because, once compilation is made, there i ... |
Topic: Print options in JOB card |
sandip
Replies: 4
Views: 2797
|
Forum: Job Control Language(JCL) Posted: Sun Sep 05, 2004 11:55 pm Subject: Print options in JOB card |
Asha,
In our shop, we define the printer like below -
//JPNUSR OUTPUT FORMS=STD,CLASS=4,DEST=JPTRM01
where you have to use your own CLASS and DEST value.
And in SYSOUT we use -
//SYSOU ... |
| |