i want to write a dynamic string where data is retrieved from database. so what i do is i compress the fields into a dynamic variable. for e.g. for 1 record:

compress #dynamic field1 ‘,’ into #dynamic leaving no
compress #dynamic field2 ‘,’ into #dynamic leaving no
compress #dynamic field3 into #dynamic leaving no

the question is how do i, create a carriage return character cause i want to create a new line when i read the next record. i have tried using H’0D’ code and compress into the #dynamic string but to no avail… :frowning:

btw, i need to use W3WRITE-RESOURCE…



hey guys, got no problem anymore. i have found the solution. thanks.