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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. hugheskbh

    Sorting an arrary or table

    Thanks PHV, but do you have an examples because I don't have a MF Cobol Language reference manual. Thanks
  2. hugheskbh

    Sorting an arrary or table

    Hi, Does anyone know how to sort an array or table in cobol particularly Micro Focus Cobol? Thanks
  3. hugheskbh

    streaming a datafile in unix

    Thanks guys, I'll give these examples a try and let you know what happens.
  4. hugheskbh

    streaming a datafile in unix

    Hi Ken, I have a file that has one field, but instead of the data in the file presented horizonal, I would like it to be presented as one long data stream.
  5. hugheskbh

    streaming a datafile in unix

    HI, I was wondering if there's a way to stream a flat file into one large data stream in unix? Thanks in advance for help.
  6. hugheskbh

    remove first 2 characters in a flat file using a unix script.

    Thanks to both of you , this works fine. Stefanwagner I used your example to output to a new file. My only other questions is how can I place this in a unix script because after the file is created, I have to do other things with it using a script. Thanks
  7. hugheskbh

    remove first 2 characters in a flat file using a unix script.

    Hi Feherke, I'm really not a unix programmer, could you please explain how it works. I basically have to read a flat file and strip out the first 2 characters in each record. Then move either move the record over 2 spaces or write to another file. Thanks
  8. hugheskbh

    remove first 2 characters in a flat file using a unix script.

    Hi, I was wondering if there's a way to read a flat file and strip out the first 2 characters in a unix script. Thanks
  9. hugheskbh

    Moving a fixed length field to a variable length field

    It worked. I used 3gm suggestions and it looks good. Thanks for all of your help.
  10. hugheskbh

    Moving a fixed length field to a variable length field

    Thanks for all of your suggestions. TonHu I'm going to use your example and I would let everyone know the results. Thanks again
  11. hugheskbh

    Moving a fixed length field to a variable length field

    Hi, I can use JCL to define the file, but I'm asking is are are there any examples on moving the data from the fixed field to a variable field. I think I have to maybe use an array to count backwards until I find the first character that's not a space, but I'm stuck as to whatelse I need to...
  12. hugheskbh

    Moving a fixed length field to a variable length field

    Do anyone know how to do this? The file is uploaded to the mainframe. I'm using cobol on the mainframe to write to an output file. The file is going to be a flat file just like the input. The only difference is I want the file to be variable length instead of fixed lenght to eliminate spaces...
  13. hugheskbh

    Moving a fixed length field to a variable length field

    It's not a csv file, it's a fixed lenght input file. All I'm trying to do is take this 200 character field and based on the data in the field, move it to a field the same size of the actual data in the field. Basically I need the output field to not have spaces.
  14. hugheskbh

    Moving a fixed length field to a variable length field

    I'm sorry but the file is a one field file coming from a unix operating system. We take the file and upload it to the mainframe. The field is 200 characters fixed length. The problem is if data in the field does not use all positions, spaces are left after the last data character. I need to...
  15. hugheskbh

    Moving a fixed length field to a variable length field

    Hi, I need to move a 200 byte fixed length field to a variablel length field in Cobol. Can someone help me with an example? Also, how would I know the length of the variable length field. In other words, the last character of the fixed length field needs to be the length of the variable...
  16. hugheskbh

    remove trailing spaces in address fields

    Hi, I'm very sorry for my lack of knowledge on this site, but I'm still having problems. All I want to do is to scan a field and remove the trailing spaces. Please give me a quick example of how to do this. For example, an address field where the field length is 40 characters, but the field...
  17. hugheskbh

    remove trailing spaces in address fields

    I need to remove trailing spaces in address fields. Please tell me how to accomplish this in cobol. This is very urgent. Thanks Ken Hughes
  18. hugheskbh

    Microfocus Cobol on Unix OS

    The 'sub' program is a ".gnt
  19. hugheskbh

    Microfocus Cobol on Unix OS

    Hi All, I have 2 Micro Focus cobol programs on the Unix OS. I need to have one call the other. How can I do this? Thanks
  20. hugheskbh

    Cobol programmer to Oracle DBA

    Hi All, I'm very interested in becoming a Oracle DBA. I've been a mainframe and midrange programmer for many years with expertise in Cobol and RPG. I've also been a SQLSERVER DBA (this was along with my programming duties). I know some oracle, but not enough to get hired as a Oracle DBA...

Part and Inventory Search

Back
Top