Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8009617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T18:30:02+00:00 2026-06-04T18:30:02+00:00

I have two pdf files and two text files which are converted into ebcdif

  • 0

I have two pdf files and two text files which are converted into ebcdif format. The two text files acts like cover files for the pdf files containing details like pdf name, number of pages, etc. in a fixed format.

Cover1.det, Firstpdf.pdf, Cover2.det, Secondpdf.pdf

Format of the cover file could be:

Firstpdf.pdf|22|03/31/2012

that is

pdfname|page num|date generated

which is then converted into ebcdic format.

I want to merge all these files in a single file in the order first text file, first pdf file, second text file, second pdf file.

The idea is to then push this single merged file into mainframes using scp.

1) How to merge above mentioned four files into a single file?

2) Do I need to convert pdf files also in ebcdic format ? If yes, how ?

3) As far as I know, mainframe files also need record length details during transit. How to find out record length of the file if at all I succeed in merging them in a single file ?

I remember reading somewhere that it could be done using put and append in ftp. However since I have to use scp, I am not sure how to achieve this merging.

Thanks for reading.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T18:30:02+00:00Added an answer on June 4, 2026 at 6:30 pm

    File merging could easily be achieved by using Cat command in unix with > and >> append operators.

    Also, if the next file should start from a new line (as was my case) a blank echo could be inserted between files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following code which will generate two pdf files containing plots to
I'm using iTextSharp to generate some PDF files. I have two tables which have
I'm writing a major report, and have two PDF files I'd like to include
I have two PNGs that I am trying to combine into a PDF using
I have some PDF's all with two attached files with static names. I would
Let's say I have two PDF templates created with Adobe Acrobat, which are both
I have two files. I want to create pdf with these two files. does
i have a page where there are two links to pdf files. the first
In a directory, I have a bunch of files like file1.tex, file1.pdf, file2.tex, file2.pdf
I have two PDF-files. Both have the same geometry and the same amount of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.