View previous topic :: View next topic
|
Author |
Message |
Ashley Justin Issac
New User
Joined: 14 Dec 2006 Posts: 1 Location: Chennai
|
|
|
|
Hi,
Can anybody help me in finding the answers to the follwing questions
1. A report is generated and it is in a flat file.Using some TSO command I need to remove the Headers and Trailer and view only the records.
2. How can I hide a particular String In a program using any TSO command?
Thanks in Advance
Regards,
Ashley. |
|
Back to top |
|
|
sankar_MF
New User
Joined: 19 Sep 2006 Posts: 29
|
|
|
|
Hi,
1. For the First case, you can use exclude command to remove the header and trailer.
In the Command Line, use the command X all 'string indentification of header/trailer and its position' and then issue "del all X " command.
For example if your header/trailer starts with the special characters '*'
you have to use the command as
X all '*' 1 and then (1 is the position the of the character "*")
del all X in the command line.
it will hide all the statements with "*" symbol in the 1st position.
2. For the second, i don't know the exact command. But if you replace the particular string by spaces, you can hide it.
C all "string" ' '
Please get me back if you have any concerns.
Thanks
Sankar |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Just to make it clear: sankar_MF's suggestions contains ISPF edit commands, not TSO commands.
O. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If you change the string from "thestring" to ' ' you have destroyed "thestring". It will no longer exist.
What kind of string do you need to hide?
If you want to exclude the headings, make sure the value you use can ONLY occur in the headings. Need to be sure not to delete any of the "records" just because they have a value that is typically in the heading(s). |
|
Back to top |
|
|
|