you could possibly use alternate tabbing (note the exclamation point) in 
your skeleton: 

)TBA 49 
//STEP1 EXEC PGM=MYPROG,REGION=4M,PARM='&ZUSER!' 


Thanks,
Frank Merlenbach
[EMAIL PROTECTED]

IBM Mainframe Discussion List <[email protected]> wrote on 04/30/2008 
11:54:37 AM:

> Anyone,
> 
> I'm working with a skeleton that generates an EXEC statement that looks 
like 
> this:
> 
> //STEP1 EXEC PGM=MYPROG,REGION=4M,PARM='&ZUSER'
> 
> I wish to pass the value in ZUSER to MYPROG, but I see that if the TSO 
userid 
> is < 8 characters long, the trailing blanks from the ZUSER variable are 
> truncated, and are not being passed to my assembler application. I.e., 
if the 
> userid is "USER1", I get a 5-byte parm string instead of an 8-byte 
> parm string 
> padded with blanks (or nulls, or anything).
> 
> Is there a way to prevent the truncation, so that my application always 
> receives a full eight-byte value, preferably blank-padded?
> 
> Thank you!
> 
> David
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
> 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to