Skip to main content

Featured

Space Explorers Book 7: Answers and Explanations

Memunic Space Explorers › Book 7: Memoon and the Search for Another Home › Answers and Explanations Answers and Explanations Habitable means life could live there; inhabited means life does live there. A world can be habitable and empty, as an unoccupied flat has a roof and water but nobody in it. The Moon has almost no air, so water would boil or freeze, and its gravity is only about one-sixth of Earth’s, too weak to keep air. Accept also: no greenhouse blanket, so it swings between very hot and very cold. Venus. It matches Earth in size and roughly in mass, but its thick carbon dioxide air traps heat, making it hot and crushing. “Twin” is only true for size and weight. A dip of 1 per cent means (planet width divided by star width) squared is 0.01, so the ratio is 0.1: the planet is about a tenth as wide as the star. Repeats at the same gap show the planet is going round the star in 12 days, and rule out a one-time event such as a passing object. A planet shines only by reflected l...

Using ADRDSSU to dump and restore datasets

Wondered if you have the concept of zipping files and transferring them to a different system - available in mainframe domain? Yes, You have a similar concept of dumping datasets to a dump file and use it to store or transfer to a different mainframe system and later restore the dumped datasets. Here is how You can do it.

Dump multiple datasets to a single dump:


//AIWCDMP  JOB  (WA2,,'ADMIN',GM,0085,),                                00010006
//             'JCL MANAGEMENT 10.0',                                   00020000
//             MSGCLASS=V,                                              00030000
//             CLASS=E,                                                 00040000
//             REGION=0M,                                               00050000
//             NOTIFY=&SYSUID                                           00060000
//*MAIN SYSTEM=ANZH                                                     00110009
//*-------------------------------------------------------------------- 00790000
//*  JS010 - DUMP DATASETS TO CTAPE                                   - 00800000
//*                                                                   - 00810000
//*-------------------------------------------------------------------- 00820000
//JS010    EXEC  PGM=ADRDSSU,                                           00840000
//             PARM='SIZE=4096K',                                       00850000
//             TIME=540,                                                00851000
//             COND=(0,NE)                                              00860000
//SYSPRINT DD  SYSOUT=*                                                 00870000
//DUMPDS   DD  DSN=AIW.AIW133.WR5347.DS.BKUP2,                          00880009
//             BLKSIZE=32760,                                           00890000
//             LABEL=(1,SL),                                            00910000
//             DATACLAS=DCBLANK,                                        00920003
//             RETPD=2,                                                 00930001
//             VOL=(,,,20),                                             00940004
//             DISP=(NEW,CATLG,DELETE),                                 00950000
//             UNIT=RTAPE                                               00960000
//SYSIN    DD  *                                                        00970000
  DUMP DATASET(INCLUDE( -                                               00980000
              DAIW.DS.X.TWDL066D                        -               00990009
              DAIW.DS.X.TWDL066O                        -               01000009
              DAIW.DS.X.TWDL072D                        -               01010009
              DAIW.DS.X.TWDL072O                        -               01020009
              DAIW.DS.X.TWDL129D                        -               01030009
              DAIW.DS.X.TWDL129O                        -               01040009
              DAIW.DS.X.TWDS010D                        -               01050009
              DAIW.DS.X.TWDS010O                        -               01060009
              DAIW.DS.X.TWDS014D                        -               01061009
              DAIW.DS.X.TWDS014O                        -               01062009
              DAIW.DS.X.TWGT001D                        -               01063009
              DAIW.DS.X.TWGT001O                        -               01064009
              DAIW.DS.X.TWGT002D                        -               01064109
              DAIW.DS.X.TWGT002O                        -               01064209
              DAIW.DS.X.TWGT003D                        -               01064309
              DAIW.DS.X.TWGT003O                        -               01064409
              DAIW.DS.X.TWIN006D                        -               01064509
              DAIW.DS.X.TWIN006O                        -               01064609
              DAIW.DS.X.TWIN011D                        -               01064709
              DAIW.DS.X.TWIN011O                        -               01064809
              DAIW.DS.X.TWIR002D                        -               01064909
              DAIW.DS.X.TWIR002O                        -               01065009
              DAIW.DS.X.TWLM001D                        -               01065109
              DAIW.DS.X.TWLM001O                        -               01065209
              DAIW.DS.X.TWPD002D                        -               01065309
              DAIW.DS.X.TWPD002O                        -               01065409
              DAIW.DS.X.TWRT060D                        -               01065509
              DAIW.DS.X.TWRT060O                        -               01065609
              DAIW.DS.X.TWSY004D                        -               01065709
              DAIW.DS.X.TWSY004O                        -               01065809
              DAIW.DS.X.TWSY005D                        -               01065909
              DAIW.DS.X.TWSY005O                        -               01066009
              DAIW.DS.X.TWSY006D                        -               01066109
              DAIW.DS.X.TWSY006O                        -               01066209
              DAIW.DS.X.TWSY011D                        -               01066309
              DAIW.DS.X.TWSY011O                        -               01066409
              DAIW.DS.X.TWSY188D                        -               01066509
              DAIW.DS.X.TWSY188O                        -               01066609
                      ))-                                               01066705
       OUTDDNAME(DUMPDS)-                                               01066805
       SHARE -                                                          01066905
       TOLERATE(ENQFAILURE) -                                           01067005
       COMPRESS                                                         01068005
/*                                                                      01070000
//*                                                                     01080000


You can now FTP or simply store the output dump which contains all the listed datasets.

Restore the dumped datasets:


//AIWRDMP  JOB  (WB9,,'CFS INTERNATIONAL',GM,0085,),
//             'JCL MANAGEMENT 10.2',
//             MSGCLASS=V,
//             CLASS=E,
//             REGION=0M,
//             NOTIFY=&SYSUID
//*MAIN SYSTEM=ANZH
//*---------------------------------------------------------------------
//*
//* RETRIEVE THE DATASET MENTIONED IN THE INCLUDE OPTION FROM INPUT
//* TAPEI DATASET
//*
//*---------------------------------------------------------------------
//JS010    EXEC  PGM=ADRDSSU,
//             REGION=0M,TIME=540
//TAPEI   DD  DSN=AIW.AIW133.CDUMP3,
//             VOL=SER=D23554,
//             DISP=SHR
//SYSIN   DD  *
 RESTORE INDDNAME(TAPEI)                -
   DATASET(INCLUDE(                     -
   PAIW.**                          -
   )) -
   RENUNC((PAIW.**,DAIW.**))
/*
//SYSPRINT DD  SYSOUT=*
/*
//
   TOL(ENQF)                             -
   TGTA(SRC)                             -
   SPHERE -
   TGTGDS(ACTIVE)                        -
   CAT



Comments

Popular posts from this blog

CA-7 Job Status and Failure Reason Codes

Here are the various status codes that You may see for jobs in the Queue or Logs in CA-7. R-C0002 R-C0003 R-C0099 R-C0255 R-JCLER A-U0002 A-U0004 A-U0015 A-U0043 A-U4095 A-SOC7 A-U4000 Reason Code/Job Status Code explanation: The indication of the job's current disposition. Values and their meanings are: A-Snnnn-- The job has failed with a system abend. A-Unnnn --The job has failed with a user abend. C-Cnnnn --The job has completed successfully and is going through completion processing. E-ARFATT-- An error occurred during the attempt to attach ARF definitions. This can result if the ARFSET specified is not defined. A diagnostic message may have been written to the CA-7 log, the OS console, or to the trailer queue for the job (in which case it can be displayed using LQ,JOB=x,LIST=ALL). E-ARFERR ---The job encountered an error in the ARF processing. Do a LARFQ command for the job to get more specific information. E-SEGERR --The job has been requeued...

Installing and Configuring Hadoop on Ubuntu as a Pseudo Distributed Single Node Cluster

Briefly what is psuedo-distributed single node Hadoop cluster: It is a Hadoop distributed cluster having Single Node. All the five daemons (NN,DN,JT,TT,SNN) are running as individual JVM (java process) instances. We will get all distributed features of Hadoop. This mode is used to develop, test, and staging (before production) Map Reduce programs quickly. It writes all the system, daemon and user logs to different files on the cluster To install Hadoop in this mode, we have to modify the hadoop-env.sh, core-site.xml, hdfs-site.xml, mapred-site.xml. hadoop-env.sh contains all the Environment variables which are required for running Hadoop. All the default values are fine, Only we have to modify the JAVA_HOME=“The location of Java Home Directory” Core-site.xml contains all the cluster specific information like io, temp directory, sorting, file system uri etc. Hdfs-site.xml contains all the parameters which are specific to HDFS like name node directory, data node directory...

Whistling Winds and Waterfalls: 4 Days of Magic in Shillong

Nestled in the clouds, where the scent of pine trees mingles with the rhythm of waterfalls and the tunes of local guitar-strumming youth—Shillong is more than a place. It’s a vibe. If you’ve got 3 nights and 4 days, you’ve got just enough time to fall in love. Here’s how to make the most of it—food, fun, fog and fantastic views included. Day 1: Shillong, We’re Coming for You! You land in Guwahati, barely out of the airport when the hills start calling. You hop into your cab, Spotify on, windows down, and the three-hour ride to Shillong begins. Just when you think it can’t get better, you stop at Umiam Lake —a lake so calm, it looks like someone ironed the water. By evening, you’re sipping hot chai in Laitumkhrah, maybe nibbling on spicy momos or pork jadoh from a roadside stall. You’re checked into your charming hotel ( Tripura Castle if you fancy old-world royalty, Ri Kynjai if you’re into lakeside poetry). The breeze whispers secrets of waterfalls and pine forests. Sleep well, drea...