Scénario de test & Cas d'usage
Generation of a massive text string variable.
| 1 | |
| 2 | DATA _null_; |
| 3 | call symputx('long_text', repeat('Lorem ipsum dolor sit amet. ', 500)); |
| 4 | |
| 5 | RUN; |
| 6 |
| 1 | PROC CAS; |
| 2 | SOURCE huge_text; |
| 3 | WARNING: This is a very long text to test the buffer limits of the echo ACTION. |
| 4 | ENDSOURCE; |
| 5 | huge_string = repeat("TestString_", 2000); |
| 6 | RUN; |
| 1 | PROC CAS; |
| 2 | huge_string = repeat("TestString_", 2000); |
| 3 | BUILTINS.echo / payload=huge_string LENGTH=LENGTH(huge_string); |
| 4 | RUN; |
The log prints the full length of the string and the string itself without truncation, confirming the server can handle large parameter payloads.