Hello Forum,
Is there any method of checking raw values or selecting a substring from them without first using the modify stage to change the column definition?
Thanks,
Greg
Parsing Raws to extract values
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
I want to certain a certain range of bytes against a string constanst.
For Example,
For Example,
I wish to declare this field as raw because I want to use the ebcdic attribute on the schema, to allow string comparisons to automatically treat the bytes as ebcdic text. By declaring the field as string, will cause my output to be manipulated if DS encounters any byte values in the string field that are not considered valid ebcdic text (0x0a for example).if (link1.rawfld[1,6] = "String") then
parse rest of raw field