Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 display the sign only if the value is... useit DFSORT/ICETOOL 3 Wed Oct 04, 2017 5:53 pm
No new posts Binary to display characters Roy Ware SYNCSORT 3 Tue Sep 19, 2017 8:46 pm
No new posts DB2 NULL Values display V S Amarendra Reddy DB2 3 Thu Sep 07, 2017 6:59 pm
No new posts Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm
No new posts Display upon console bipinpeter COBOL Programming 1 Thu Jun 22, 2017 12:35 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us