Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

To display my name through JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Suruchi

New User


Joined: 14 Dec 2006
Posts: 2
Location: Pune

PostPosted: Thu Dec 14, 2006 11:42 am    Post subject: To display my name through JCL
Reply with quote

Hi,
Can anybody tell me how can i dispaly my name using JCL???

Thanks..
Suruchi
Back to top
View user's profile Send private message

Rajen

New User


Joined: 05 May 2005
Posts: 61

PostPosted: Thu Dec 14, 2006 1:51 pm    Post subject:
Reply with quote

What do u mean by you want to display your name.

If you want to write it in some dataset then use below jcl.

Code:
//SORTIN   DD *                                         
  RAJEN PATEL                                           
//SORTOUT DD DSN=YOURID.NAME.DATASET,             
//               DISP=(NEW,KEEP,DELETE),VOL=SER=ABC002     
//SYSUDUMP DD SYSOUT=H                                   
//SYSOUT   DD SYSOUT=*                                   
//SYSIN    DD *                                         
 SORT FIELDS=COPY                                       
 OUTREC FIELDS=(C'HI SURUCHI. MY NAME IS ',1,13,44X)     
/*                                                       
//


Here output dataset is of LRECL=80.

If you want to see your name in SYSOUT then use below.

Code:
//SORTIN   DD *                                       
  RAJEN PATEL                                         
//SORTOUT  DD SYSOUT=*                               
//*SORTOUT  DD DSN=XUTC536.MYNAME.DIS,               
//*           UNIT=DISK,SPACE=(CYL,(20,5),RLSE),     
//*           DISP=(NEW,KEEP,DELETE),VOL=SER=PCF002   
//SYSUDUMP DD SYSOUT=H                               
//SYSOUT   DD SYSOUT=*                               
//SYSIN    DD *                                       
 SORT FIELDS=COPY                                     
 OUTREC FIELDS=(C'HI SURUCHI. MY NAME IS ',1,13,44X) 
/*                                                   
//



Let me if this satisfy your condition or not.

Thanks,
Rajen.
Back to top
View user's profile Send private message
Suruchi

New User


Joined: 14 Dec 2006
Posts: 2
Location: Pune

PostPosted: Thu Dec 14, 2006 2:10 pm    Post subject: Re: To display my name through JCL
Reply with quote

I needed the 2nd one.
Thanks Rajen for ur response...

Cheers,
Suruchi..
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Display FTP Session Count within TSO Yolanda Harvey TSO/ISPF 3 Fri Mar 10, 2017 10:31 pm
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts Display ZEDLMSG without Pressing F1 &... anandgbe CLIST & REXX 8 Thu Dec 15, 2016 4:20 pm
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us