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
 

 

Can we pass a file from sysin dd * or parm

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
ipavan

New User


Joined: 12 Jun 2005
Posts: 28
Location: Hyderabad

PostPosted: Wed Jul 20, 2005 9:46 pm    Post subject: Can we pass a file from sysin dd * or parm
Reply with quote

1. I have created a gdg in the first step and i want to use it as output file in the second step. i mean , i want to write the output of my second step into the gdg created in the first step.

2. how frequently passwords are changed in real time environment for a user.

3. can we pass a file from sysin dd * or parm.
I have got a reply from forum that we can do it as
sysin dd *
lib'xxxx.yyy.zzzz'
//

if the above is true how to use the file xxxx.yyy.zzzz in the cobol program, i mean how to capture the file in cobol program.
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Wed Jul 20, 2005 9:57 pm    Post subject: Re: Help me
Reply with quote

Hello ipavan,

Quote:
1. I have created a gdg in the first step and i want to use it as output file in the second step. i mean , i want to write the output of my second step into the gdg created in the first step.

You should use GDG(+1), DISP=MOD in second step O/P DSN.

Quote:
2. how frequently passwords are changed in real time environment for a user.

Think it should be different from organization to org'n.....Is there any standard time period ?....

Quote:
i mean how to capture the file in cobol

Means what ?

Regards,

Priyesh.
Back to top
View user's profile Send private message
superk

Moderator Team Head


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

PostPosted: Thu Jul 21, 2005 12:42 am    Post subject: Re: Help me
Reply with quote

ipavan wrote:
3. can we pass a file from sysin dd * or parm.
I have got a reply from forum that we can do it as
sysin dd *
lib'xxxx.yyy.zzzz'
//

if the above is true how to use the file xxxx.yyy.zzzz in the cobol program, i mean how to capture the file in cobol program.


I'm with Priyesh. What exactly are you trying to do with this logic? Are you passing the name of a dataset to a program? Or, are you trying to pass the contents of a dataset?
Back to top
View user's profile Send private message
superk

Moderator Team Head


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

PostPosted: Thu Jul 21, 2005 12:45 am    Post subject: Re: Help me
Reply with quote

ipavan wrote:
2. how frequently passwords are changed in real time environment for a user.

Sarbanes-Oxley, SAS-70, HIPAA, and other legislation have made the limit to be typically no more than 90 days. Most shops have always set a 30-day limit.
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm


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