cancel
Showing results for 
Search instead for 
Did you mean: 

Using "pipe" in PASE

Former Member
0 Kudos

I've run "CALL QP2TERM" and now at the command line, i'm executing "ls -lrt | tail". The error i receive is:

ls: 0653-341 The file ! does not exist.

ls: 0653-341 The file tail does not exist.

To me, it looks like this shell is interpeting the pipe symbol "|" as a exclamation mark "!" because "!" is in the error message "ls: 0653-341 The file ! does not exist."

Does anyone know the correct key to use for "pipe" when using PASE? I believe this can be done because of seen examples of this in an IBM redbook.

Evert

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Evert,

this probably occurs because your 5250 codepage does not match the job CCSID. You can find out your job ccsid with DSPJOB, then option 2 "Display job definition attributes" and scroll down to "Coded character set identifier".

The 5250 CCSID you can define in the session parameters. The job CCSID you can change with CHGJOB.

Best regards,

Christoph

Former Member
0 Kudos

Yes, that fixed it. DSPJOB showed my coded character set identifier to equal 500 and my session was using "037 United States". When i switched the session to "500 United States" and logged back in, the pipe character began to work.

Thank you very much,

Evert

Answers (0)