Hi,
I have a huge file and i want that to be split into two.
I want the first file to contain all the records till a given condition. Suppose i have
100name Lowerlevel
101a1111programer
102a2222engineer
103a2323analyst
104a3434managers
105a2343smanager
106a4322Dmanager
i want the first file to...
Hi,
The program runs fine for months, but one fine day it gets more than 100 records (approx) and hence abends. I do agree that this problem had to taken into consideration during design itself, but now client does not want this file design to be altered as its been coming from some other...
Hi,
Can anyone please help me with a piece of code on the declaration and usage of dynamic array in cobol.
For instance,
i have a esds vsam file of 100 records usually fed in as input, i use a internal table for storing the values from each record in an array (occurs 100 times). wat if the...
Hi,
I need to know the difference between Static and Dynamic call and how its used in programs.
Also, i want to know wat will happen if you call a program dynamically in the code and give NODYNAM option in the cobol compiler and vice versa.
Thanks in advance,
Ashok
hi,
there are 2 chances of getting this error:
1) u didnt compile the program or the program compiled with errors.
2) the PDS for the loadlib is pointing to the wrong location.
if u use any version controlling tool such as Endevor, make sure that the PDS for the loadlib is pointing to the...
hi ajit,
there is no such utility available(as far as i know).
1) but after the program abends, u can check in the spooled output and in the expanded version of the program for the DML sequence. with this u can trace the error.
2)if its a User abend, u can trace it with the corresponding error...
hello friends,
i want to know what these lines of code does:
1) MOVE 1180-AMPS-BTCH-DTL-LINE-MSC(1:11) TO 1103-ORD-ID.
2) IF 1180-BTCH-DTL-LINE(12:1) = 'P'
PERFORM 1000-PROCESS
THRU 1000-PROCESS-EXIT.
Thank you,
Ash..
hii, this is Ashok.
Thank u all for ur valuable answers,comments and examples.
i work on OS/390.
About the GO TO problem:
Mkuiper, actually my organisation follows certain coding standards,which does not recommend the usage of GO TO.there's nothing wrong with the code as such.
Thank U ALL.
Ashok.
hello,
can anyone let me know how to find the length of a given string using cobol.
suppose,
10 ws-data pic x(64)
i move some string to this variable.i would like to find the length of the string moved to ws-data.
its very urgent.
thank you,
Ashok..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.