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
 

 

moving data from a ps file to db2 table

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
nandakumar
Warnings : 2

New User


Joined: 05 May 2005
Posts: 50

PostPosted: Sun Jul 03, 2005 10:25 am    Post subject: moving data from a ps file to db2 table
Reply with quote

hi,

1) how to move the data from a ps file to db2 table?







thanking u.
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Sun Jul 03, 2005 7:41 pm    Post subject: Re: moving data from a ps file to db2 table
Reply with quote

Your question was already asked and answered once before:

http://ibmmainframes.com/viewtopic.php?t=3355&highlight=

and here

http://ibmmainframes.com/viewtopic.php?t=3389&highlight=
Back to top
View user's profile Send private message
nandakumar
Warnings : 2

New User


Joined: 05 May 2005
Posts: 50

PostPosted: Sun Jul 03, 2005 9:27 pm    Post subject: i need an exmaple............
Reply with quote

hi,

i refered the previous answer,i have a lots of doubt in that



Code:
//STEP010U EXEC PGM=DSNTIAUL
//STEPLIB DD DISP=SHR,DSN=...steplib
//WFH.... DD DUMMY
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSPUNCH DD SYSOUT=*
//SYSREC00 DD DSN=myoutput,
// DISP=(,CATLG,),SPACE=(CYL,(20,10),RLSE),
// UNIT=SYSDA
//SYSIN DD *
mytable

/*
//

in above example what does the 3rd line mean:

that is..

//WFH.... DD DUMMY ====> WFH MEANS WHAT?

ALSO

SYSTSPRT,SYSREC00,SYSDUMP,SYSPUNCH ,DSNTIAUL


WHY IAM ASKING IS I NEVER USED THESE COMMANDS.

thanking u.
Back to top
View user's profile Send private message
withnams

New User


Joined: 06 Jul 2005
Posts: 26
Location: Chennai

PostPosted: Wed Jul 06, 2005 11:50 am    Post subject:
Reply with quote

SYSPUNCH - THE LOAD CONTROL STATEMENT FOR THE TABLE

SYSREC00 - THE RECORDS OF THE TABLE (THE UNLOADED CONTENT)

SYSPRINT GIVES YOU THE INFO ON THE NUMBER OF RECORDS ADDED TO TABLE, LOAD STATEMENT, ERRORS ETC...

YOU JUS TRY ONCE AND YOU WILL FIND THE ANSWERS...

HAVE A GREAT DAY
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 10 Fri Aug 18, 2017 10:50 am
No new posts Adding a userid to SMTP Security table Yolanda Harvey JCL & VSAM 1 Sun Aug 13, 2017 6:16 pm
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm


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