Hello Bruce, Thanks a lot for your reply. I did as you mentioned and just accepted the wasted space. I just filled the shorter lines with spaces, so they are the same length as the longest line. JRecordInterface1.CB2XML worked with the xml copybooks aswell. Thanks again. You are correct, i want to send a the files i create to a mainframe, kind of. I need the files to be the exact same as the ones the mainframe can work with. But I didn't actually do this yet.
Hello, (First and foremost, i like to thank Bruce Martin for his dedication, work and support. I think he helped a lot of people.) Im trying to build a custom .bin file using the JRecord libary. The file im trying to write has 3 kinds of lines (AbstractLines) each with a different layoutDetail. I can get one layoutDetail from a copybook (in .CPY format) but the other two layouts i have to custom build. So far i got code for the copybook layoutDetail, what seems to work as intended. LayoutDetail layoutDetail...
Hello, (First and foremost, i like to thank Bruce Martin for his dedication, work and support. I think he helped a lot of people.) Im trying to build a custom .bin file using the JRecord libary. The file im trying to write has 3 kinds of lines (AbstractLines) each with a different layoutDetail. I can get one layoutDetail from a copybook (in .CPY format) but the other two layouts i have to custom build. So far i got code for the copybook layoutDetail, what seems to work as intended. JRecordInterface1.COBOL...
Hello, (First and foremost, i like to thank Bruce Martin for his dedication, work and support. I think he helped a lot of people.) Im trying to build a custom .bin file using the JRecord libary. The file im trying to write has 3 kinds of lines (AbstractLines) each with a different layoutDetail. I can get one layoutDetail from a copybook (in .CPY format) but the other two layouts i have to custom build. So far i got code for the copybook layoutDetail, what seems to work as intended. JRecordInterface1.COBOL...
Hello, (First and foremost, i like to thank Bruce Martin for his dedication, work and support. I think he helped a lot of people.) Im trying to build a custom .bin file using the JRecord libary. The file im trying to write has 3 kinds of lines (AbstractLines) each with a different layoutDetail. I can get one layoutDetail from a copybook (in .CPY format) but the other two layouts i have to custom build. So far i got code for the copybook layoutDetail, what seems to work as intended. JRecordInterface1.COBOL...
Hello, (First and foremost, i like to thank Bruce Martin for his dedication, work and support. I think he helped a lot of people.) Im trying to build a custom .bin file using the JRecord libary. The file im trying to write has 3 kinds of lines (AbstractLines) each with a different layoutDetail. I can get one layoutDetail from a copybook (in .CPY format) but the other two layouts i have to custom build. So far i got code for the copybook layoutDetail, what seems to work as intended. JRecordInterface1.COBOL...