Page 1 of 1
Delete data from column in Edit Mode.
Posted: Tue Apr 08, 2014 5:24 pm
by utkarsh
Hi,
In a pgm, while in the edit mode, I'd like to delete all the fields present from colum 40 to 50. What command may I sue to delete these?
Re: Delete data from column in Edit Mode.
Posted: Tue Apr 08, 2014 6:25 pm
by William Collins
Go into the Help and find out about Picture strings.
Re: Delete data from column in Edit Mode.
Posted: Tue Apr 08, 2014 6:55 pm
by Robert Sample
And look up BNDS as well.
Re: Delete data from column in Edit Mode.
Posted: Thu Nov 19, 2015 4:59 pm
by utkarsh
William Collins wrote:Go into the Help and find out about Picture strings.
What are picture strings? I could not locate the details about them?
BNDS was helpful but they tough to use. If you forgot to reset them, they affect the entire profile!
Re: Delete data from column in Edit Mode.
Posted: Thu Nov 19, 2015 5:15 pm
by Akatsukami
Picture strings. Note that in z/OS V2.1 and above you can also use
regular expressions.
Re: Delete data from column in Edit Mode.
Posted: Thu Nov 19, 2015 7:43 pm
by William Collins
You can also locate information on Picture Strings in the online help. Try FIND, Specifying the character string.
Re: Delete data from column in Edit Mode.
Posted: Thu Nov 19, 2015 7:46 pm
by nicc
And, with the BNDS, use the SHIFT left comand - '('
If you keep the bounds line displayed you should not forget to reset them!
Re: Delete data from column in Edit Mode.
Posted: Thu Nov 26, 2015 7:31 pm
by prino
- find an unused character in your data, like x'00'
And hope that your data doesn't contain any other sequence of 11 minus signs...
And the relevance of this to JCL is?????
Re: Delete data from column in Edit Mode.
Posted: Tue Dec 01, 2015 4:53 pm
by utkarsh
Is there an easy way to work on point 1 if there are more character of different nature:
1.find an unused character in your data, like x'00'
Re: Delete data from column in Edit Mode.
Posted: Tue Dec 01, 2015 6:32 pm
by William Collins
If your data is "text" then any non-text value will do.
If you data contains packed-decimal fields, then chose any non-text whose hex-representation starts with A-F.
If your data contains binary fields, then you'd have to check, because any bit-combination could exist.