Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ashykhanna

  1. ashykhanna

    Split a file using DFSORT

    Let me be more clear.. 100name Lowerlevel 101a1111programer 102a2222engineer 103a2323analyst 104a3434managers 105a2343fdfdf 106a4322gfgfhh File 1 100name Lowerlevel 101a1111programer 102a2222engineer 103a2323analyst File 2 104a3434managers 105a2343fdfdf 106a4322gfgfhh WMK, I guess the...
  2. ashykhanna

    Split a file using DFSORT

    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...
  3. ashykhanna

    Dynamic Arrays in COBOL

    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...
  4. ashykhanna

    Dynamic Arrays in COBOL

    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...
  5. ashykhanna

    COBOL STATIC and DYNAMIC CALL

    Thanks WMK...
  6. ashykhanna

    COBOL STATIC and DYNAMIC CALL

    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
  7. ashykhanna

    MVS JCL abend

    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...
  8. ashykhanna

    To find the length of a string...

    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...
  9. ashykhanna

    Move and If

    hello, thanks a lot guys. bye, Ash..
  10. ashykhanna

    move

    hi, u can do it by using MOVE CORRESPONDING. for example :- MOVE CORRESPONDING GROUP1-REC TO GROUP2-REC. Ash..
  11. ashykhanna

    Move and If

    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..
  12. ashykhanna

    A COUNTER IN COBOL

    hi drup, ur question is not clear enough. Ashok
  13. ashykhanna

    To find the length of a string...

    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.
  14. ashykhanna

    To find the length of a string...

    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..

Part and Inventory Search

Back
Top