Output of m_dump - select only first 2 columns data

I have a ebcdic file, I wanted to select only first 2 columns values in the output in the m_dump command
Output of m_dump values are like below:
[record
id "100"
type_code "20"
frstname "abcd"
lastname "efgh"
new_line "
"]
any help is greatly appreciated

  
Showing Answers 1 - 4 of 4 Answers

ARUN

  • Nov 6th, 2017
 

cut -f 1-2 ebcdic

  Was this answer useful?  Yes

Rizwan

  • Feb 8th, 2018
 

You can use m_dum < adc.dml > < source file name > -select < expression > hope it will work if you have write a mail.

  Was this answer useful?  Yes

salma

  • Mar 5th, 2018
 

m_dump -start 1 -end 2 |egrep Record|id|type_code

  Was this answer useful?  Yes

Ashiq Aashu

  • Jun 4th, 2018
 


You can use m_dum < adc.dml > < source file name > -select < expression > hope it will work if you have write a mail.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions