Author |
Message |
Topic: Is it possible to call same cobol pgm frm CICS and Batch? |
neilxt
Replies: 6
Views: 4878
|
Forum: Application Programming Posted: Wed Sep 20, 2006 8:36 am Subject: Re: Is it possible to call same cobol pgm frm CICS and Batch |
Hi,
Just a quick question to know if it is possible to call a cobol program (lets say a subroutine) from a CICS program and Batch Cobol program?
Thanks
Jimmy
I think that so long as
a) Th ... |
Topic: Evaluate Condition |
neilxt
Replies: 5
Views: 2874
|
Forum: Application Programming Posted: Wed Sep 20, 2006 8:24 am Subject: Re: Evaluate Condition |
Hi all,
This codes works perfectly fine....
Here in the Evaluate status variable is checked with only a single byte 'E', althought it is a 2 byte variable holding value 'E '. I hope 'E' NOT equal to ... |
Topic: Cobol IF statement Question |
neilxt
Replies: 7
Views: 10239
|
Forum: Application Programming Posted: Tue Sep 19, 2006 4:39 pm Subject: Re: Cobol IF statement Question |
Hi,
I saw a cobol program code like this.
IF WS-VALUE IS NOT EQUAL TO ('1' AND '2')
How the program will behave
1) IF WS-VALUE is 1 ?
2) IF WS-VALUE is 2 ?
3) IF WS-VALUE is 0 ?
... |
Topic: Mainprogram or subprogram |
neilxt
Replies: 10
Views: 5285
|
Forum: Application Programming Posted: Tue Sep 19, 2006 4:21 pm Subject: Re: Mainprogram or subprogram |
Hi Folks,
Please clarify my doubt.
How to identify is this MAINPROGRAM or SUBPROGRAM by seeing application program without using JCL?
Since the advent of COBOL II there really is no absolute ... |
Topic: COBOL Level Variables |
neilxt
Replies: 3
Views: 2565
|
Forum: Application Programming Posted: Tue Sep 19, 2006 4:15 pm Subject: Re: COBOL Level Variables |
Hi All,
May I know what is the significance of having a single Level 1 variables in the working storage section over, having more number of Level 1 variables.
Please come up with ur views.
Th ... |
Topic: Level number -77 |
neilxt
Replies: 5
Views: 3632
|
Forum: Application Programming Posted: Tue Sep 19, 2006 4:09 pm Subject: Re: Level number -77 |
Hi,
Can any body please tell that why we have level number 77 when 01 level can serve the same purpose as level number 77 ?
Are there any specific reasons we use level no 77 ?
Thanks and Regar ... |
Topic: Copy Statement in COBOL |
neilxt
Replies: 3
Views: 3645
|
Forum: Application Programming Posted: Tue Sep 19, 2006 3:54 pm Subject: Copy Statement in COBOL |
haqshaik,
The COPY statement with REPLACING phrase can be used to replace parts of words only by inserting a dummy operand delimited by colons into the variable names.
This works however the ... |
Topic: Linkage Section Variables Declaration will depends on the pa |
neilxt
Replies: 3
Views: 2332
|
Forum: Application Programming Posted: Tue Sep 19, 2006 3:42 pm Subject: Re: Linkage Section Variables Declaration will depends on th |
Hi,
Please see the below code.
LINKAGE SECTION.
01 COMMON-DATA.
05 DATA-TO-SUBROUTINE PIC X(150).
05 DATA-FROM-SUBROUTINE PIC X(350).
PROCEDURE DIVISION.
MOVE "NEED FULL DA ... |
Topic: What is CSV file? |
neilxt
Replies: 11
Views: 9306
|
Forum: Application Programming Posted: Tue Sep 19, 2006 3:20 pm Subject: Re: what is a CSV File |
Members,
I would like to know what is a CSV File and is there any difference in using UNSTRING for a normal string and a string from a CSV File.Can any body help me out with the link to CSV File ?
... |
Topic: diff between internal sort and external sort |
neilxt
Replies: 5
Views: 4454
|
Forum: Application Programming Posted: Fri May 14, 2004 8:36 am Subject: diff between internal sort and external sort |
By this way, the only thing remaining in the program is the sort key.
OK, now in my defense of the internal sort I have always assumed (and AFAIK it has always been the case) that we were talkin ... |
Topic: Unstring |
neilxt
Replies: 7
Views: 3666
|
Forum: Application Programming Posted: Thu May 13, 2004 8:52 am Subject: Unstring |
I don't think that's an option. The orignal post says their compiler 'does not support reference modification'. Ref mod was introduced at COBOL II so this implies he is using the absolutely ancient ... |
Topic: Accuracy in Computing |
neilxt
Replies: 11
Views: 5624
|
Forum: Application Programming Posted: Wed May 12, 2004 5:05 pm Subject: Accuracy in Computing |
I again tried with the following code :
Code:
COMPUTE WS-C ROUNDED = ( WS-A / WS-B ) * 100.
There are two questions here; how do you get the best answer and what's going on with "Rounded ... |
Topic: How to cancel a static CALL. |
neilxt
Replies: 6
Views: 2910
|
Forum: Application Programming Posted: Wed May 12, 2004 4:44 pm Subject: How to cancel a static CALL. |
am facing a problem while giving a second static call to a subroutine. Actually when I am calling the subroutine for the first time one switch is being set in the subroutine. And when I am calling ... |
Topic: Random read of ESDS file in COBOL. |
neilxt
Replies: 6
Views: 4669
|
Forum: Application Programming Posted: Wed May 12, 2004 4:38 pm Subject: Random read of ESDS file in COBOL. |
Can you please tell me how I can use this assembler code in COBOL.
You write an assembler subroutine and call it. I don't think you can mix assembler language code into COBOL and I'm not sure I' ... |
Topic: Why we submit JCL from COBOL or CICS ? |
neilxt
Replies: 11
Views: 5227
|
Forum: Application Programming Posted: Wed May 12, 2004 4:14 pm Subject: Why we submit JCL from COBOL or CICS ? |
Hi :
Can someone tell me what's the reason we submit JCL from COBOL or CICS sometimes ?
Thanks
If you want to create dynamically variable JCL based on your input data perhaps.
For i ... |
|